I'm experimenting with your model and I realized that the provided vgg_normalised_conv5_1.t7 can't load with torch_file on Windows and other compatibility issues with latest versions of PyTorch. However with a simple tweak and a change of model file, anyone can run the model:
I'm experimenting with your model and I realized that the provided
vgg_normalised_conv5_1.t7
can't load with torch_file on Windows and other compatibility issues with latest versions of PyTorch. However with a simple tweak and a change of model file, anyone can run the model:We download the
vgg_normalised_conv5_1.pth
file from https://github.com/pietrocarbo/deep-transfer/tree/master/models/autoencoder_vgg19/vgg19_5 (pietrocarbo's deep-transfer)We then modify the VGGEncoder class to load from the state_dict directly
Now one can simply load the model by: