image-analogies icon indicating copy to clipboard operation
image-analogies copied to clipboard

FileNotFoundError: [Errno 2] No such file or directory: ''

Open Logner opened this issue 5 years ago • 0 comments

I followed the installation upto installing venv. tried running the program with my images and the vgg16 file in cwd.

I installed tensorflow on my machine using pip3 install tensorflow --user

venv did not detect tensorflow, so I installed tensorflow with pip install tensorflow while in venv.

then I ran my command again.

(venv) user@user-X230:~/Documents/Programming/image$ make_image_analogy.py a.jpg a.jpg b.jpg output Using TensorFlow backend. Tensorflow detected. Forcing --a-scale-mode=match (A images are scaled to same size as B images) Using PatchMatch model Traceback (most recent call last): File "/home/user/.keras/venv/bin/make_image_analogy.py", line 27, in image_analogy.main.main(args, model_class) File "/home/user/.keras/venv/lib/python3.6/site-packages/image_analogy/main.py", line 34, in main os.makedirs(output_dir) File "/home/user/.keras/venv/lib/python3.6/os.py", line 220, in makedirs mkdir(name, mode) FileNotFoundError: [Errno 2] No such file or directory: ''

I am getting this error involving patchmatch model, and I have no clue where to begin troubleshooting it.

Logner avatar Mar 12 '19 23:03 Logner