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

the resnet checkpoint can't be loaded #1

Open
JavanehBahrami opened this issue Dec 27, 2020 · 1 comment
Open

the resnet checkpoint can't be loaded #1

JavanehBahrami opened this issue Dec 27, 2020 · 1 comment

Comments

@JavanehBahrami
Copy link

JavanehBahrami commented Dec 27, 2020

Hi.
I downloaded the resnet50-epoch-15-valid_acc=-1-test_acc=0.9856.pt checkpoint but in inference part, I can not load it. It gives me an Error while loading:

device = "cuda:0"
m = torch.load('./weights/resnet50-epoch-8-valid_acc=0.97-test_acc=-1.00.pt')
m = m.to(device)
m.eval()

the error is:
in _load result = unpickler.load()
ModuleNotFoundError: No module named 'model'

@tomasz-lewicki
Copy link
Owner

tomasz-lewicki commented Mar 10, 2021

Hi! This should be fixed now.
Check out the new quickstart in README 🙂

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