Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Logner opened this issue Mar 12, 2019 · 0 comments
Open

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

Logner opened this issue Mar 12, 2019 · 0 comments

Comments

@Logner
Copy link

Logner commented Mar 12, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant