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 Pretrained MobileNet has no "model " or "best_result" #44

Open
Lightang6 opened this issue Dec 22, 2020 · 2 comments
Open

The Pretrained MobileNet has no "model " or "best_result" #44

Lightang6 opened this issue Dec 22, 2020 · 2 comments

Comments

@Lightang6
Copy link

I used the pretrained model directly , but there is a bug exist , the dict of Pretrained MobileNet has no "model " or "best_result"

@niharsalunke
Copy link

Hi @Lightang6, you are referring to the wrong file. Please download "mobilenet-nnconv5dw-skipadd-pruned.pth.tar" and then add the following command while loading the model:
checkpoint = torch.load("mobilenet-nnconv5dw-skipadd-pruned.pth.tar")

I hope this helps.

@PouyaNF
Copy link

PouyaNF commented May 3, 2022

Hi @niharsalunke , when I want to load the model using torch.load("mobilenet-nnconv5dw-skipadd-pruned.pth.tar") I got the following error:

........
return super().find_class(mod_name, name)
ModuleNotFoundError: No module named 'models'

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

3 participants