Skip to content

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

Open
@Logner

Description

@Logner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions