Open rshiv2 opened 2 years ago
Hi~ You can download the weights.tar.gz
from this link and put it inside the project folder, and then run tar -zxvf weights.tar.gz
to uncompress it. Then you will see the checkpoint in lpips/weights/v0.1/vgg.pth
. This is the checkpoint we use for our experiments. Hope this will help.
Hi there, ML noob here.
I am trying to run the code in this repository on Google Colab. I have downloaded the two checkpoints provided in your drive and installed all necessary libraries.
Unfortunately, when I run
bash run.sh
I receive the following error message:The error is thrown in line 73 of
lpips/dist_model.py
. The code I ran does download a vgg16 checkpoint file calledvgg16-397923af.pth
, so I tried hardcoding the path to this file into line 69 oflpips/dist_model.py
. No error is thrown after hardcoding this path, but the output of the network after doing so is very strange:This presumably means that hardcoding
vgg16-397923af.pth
into line 73 was incorrect, especially since in your paper, you use a VGG-19 network.Should I expect the path
lpips/weights/v0.1/vgg.pth
to exist after I've runbash run.sh
? Was I supposed to include it before hand and if so, where do I download it from?Thanks!