Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Load Pretrained SSL Models Properly #776

Open
bryanwong17 opened this issue Jan 24, 2024 · 0 comments
Open

How to Load Pretrained SSL Models Properly #776

bryanwong17 opened this issue Jan 24, 2024 · 0 comments
Assignees

Comments

@bryanwong17
Copy link

bryanwong17 commented Jan 24, 2024

Hi, I am trying to load ResNet50 pretrained on ImageNet with Barlow Twins as provided here. However, I failed to load ResNet50 models (using the timm package) with the following code:

model = timm.create_model('resnet50')

How do I properly initialize the model and load the pretrained checkpoints? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants