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

Cannot load model via torch.load #237

Open
MariamRiaz opened this issue Jun 22, 2022 · 1 comment
Open

Cannot load model via torch.load #237

MariamRiaz opened this issue Jun 22, 2022 · 1 comment

Comments

@MariamRiaz
Copy link

I am trying to load a pretrained model in my notebook. Using google colab for the experiment,

import torch

PATH = "path/to/the/model/model_step_148000.pt"
model = torch.load(PATH)

it gives me this error ; ModuleNotFoundError: No module named 'models'

How can I solve this?

@SabrinaZhuangxx
Copy link

Do you know how to continue training the ext model?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