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

guide image issue #2 #16

Open
ghost opened this issue Jan 19, 2018 · 1 comment
Open

guide image issue #2 #16

ghost opened this issue Jan 19, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 19, 2018

having trouble using the guide command and I always get this outcome:

Traceback (most recent call last):
  File "dreamer.py", line 339, in <module>
    args.zoom, args.stepsize, args.blend, args.layers, args.guide, args.gpu, args.flow)
  File "dreamer.py", line 173, in main
    guideimg = PIL.Image.open(inputdir + '/' + guide)
  File "C:\Users\root\Anaconda2\envs\caffe\lib\site-packages\PIL\Image.py", line 1952, in open
    fp = __builtin__.open(fp, "rb")
IOError: [Errno 22] invalid mode ('rb') or filename: 'C:\\Users\\root\\Desktop\\input/C:\\Users\\root\\Desktop\\input\\image-000406.png'
@aertist
Copy link

aertist commented Jan 24, 2021

Use .jpg (png is not recommended)

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