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

No module named 'torch.legacy' #9

Open
AlexRMU opened this issue Jun 7, 2020 · 0 comments
Open

No module named 'torch.legacy' #9

AlexRMU opened this issue Jun 7, 2020 · 0 comments

Comments

@AlexRMU
Copy link

AlexRMU commented Jun 7, 2020

This was removed in 1.0, as it's been more than 1.5 years since PyTorch released. They also removed torch.legacy.nn in the process.
If you want to just load the weights / tensors from a .t7 file, you can try using https://github.com/bshillingford/python-torchfile or load them via pytorch 0.4.1 and save them as pickle format.

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