How to use the pretrained SimCLR model to extract image features. #398
-
❓ Questions and HelpI would like to use the pretrained model of SimCLR to extract image features. I wonder if pl_bolts.models also support pretrained SimCLR model like the CPCV2 as follows?
Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Hi! thanks for your contribution!, great first issue! |
Beta Was this translation helpful? Give feedback.
-
@hosea7456 we are in the process of updating simclr weights for cifar-10 and Imagenet. Also, to use the simclr pretrained weights, you can refer to the docs: https://pytorch-lightning-bolts.readthedocs.io/en/latest/self_supervised_models.html#simclr The code below just defines the usage pattern. It needs to be updated with the latest trained weights.
|
Beta Was this translation helpful? Give feedback.
-
@ananyahjha93 |
Beta Was this translation helpful? Give feedback.
-
Hi! I think the link for the pretrained SimCLR model here is wrong because clearly it is written in the url that is the imagent net pre-trained model. |
Beta Was this translation helpful? Give feedback.
@hosea7456 we are in the process of updating simclr weights for cifar-10 and Imagenet. Also, to use the simclr pretrained weights, you can refer to the docs: https://pytorch-lightning-bolts.readthedocs.io/en/latest/self_supervised_models.html#simclr
The code below just defines the usage pattern. It needs to be updated with the latest trained weights.