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

SatlasPretrain ResNet50 Weights #2038

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

yichiac
Copy link
Contributor

@yichiac yichiac commented May 1, 2024

This PR adds SatlasPretrain ResNet50 weights as the Enums.

@github-actions github-actions bot added documentation Improvements or additions to documentation models Models and pretrained weights labels May 1, 2024
Copy link
Collaborator

@adamjstewart adamjstewart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to apply all the same changes I requested on #1884

Also, CI passes because we only use fake model weights, but using the real model weights result in test failures:

> pytest -m slow tests/models/test_resnet.py
...
E           RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.

@adamjstewart adamjstewart added this to the 0.6.0 milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation models Models and pretrained weights
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants