pietrocarbo / deep-transfer

PyTorch implementation of "Universal Style Transfer via Feature Trasforms"
Apache License 2.0
87 stars 19 forks source link

No module named 'torch.legacy' #9

Open AlexRMU opened 4 years ago

AlexRMU commented 4 years ago

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.