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

train.py error because of the torch.utils.serialization module lost #60

Open
0119tagawa opened this issue Jul 5, 2021 · 0 comments
Open

Comments

@0119tagawa
Copy link

In myutils/utils.py,
from torch.utils.serialization import load_lua
should be changed above
import torchfile
and
vgglua = load_lua(os.path.join(model_folder, 'vgg16.t7'))
should be changed above
vgglua = torchfile.load(os.path.join(model_folder, 'vgg16.t7'))

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

1 participant