lengstrom / fast-style-transfer

TensorFlow CNN for fast style transfer ⚡🖥🎨🖼
10.92k stars 2.61k forks source link

can't open file 'evaluate.py': [Errno 2] No such file or directory #269

Open AlexMLindemann opened 3 years ago

AlexMLindemann commented 3 years ago

Tried implementing this repository on both my own PC and goog colab to no avail. I don't think it has to with the directory 'evaluate.py' is in because I moved it around a bunch.

Here's my code:

 `!git clone https://github.com/lengstrom/fast-style-transfer.git`

 `!pip install scipy==0.18.1`

 `%matplotlib inline`  
 `import matplotlib.pyplot as plt`
 `import matplotlib.image as mpimg`
  `import os`

Error here:

  !python evaluate.py --checkpoint '/content/fast-style-transfer/rain_princess.ckpt' \
  --in-path '/content/fast-style-transfer/examples/content/P1100683' \
  --out-path '/content/fast-style-transfer/examples/results/test.jpg'
  [python: can't open file 'evaluate.py': [Errno 2] No such file or directory]