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

not working #7

Open
Asmar-git opened this issue Sep 19, 2019 · 4 comments
Open

not working #7

Asmar-git opened this issue Sep 19, 2019 · 4 comments

Comments

@Asmar-git
Copy link

when i change jpg to jpeg in line 108 it says:

Using TensorFlow backend.
Traceback (most recent call last):
File "main.py", line 109, in
if not img:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

@0x5eba
Copy link
Owner

0x5eba commented Sep 19, 2019

Sorry I don't have time to help you in these days

@Asmar-git
Copy link
Author

Asmar-git commented Sep 19, 2019 via email

@Cimino023
Copy link

Change "if not img" and "if not mask" into "if img is None" and "if mask is None" and it should work.
also check the pictures extension: for the original code the pictures are in .jpg while I have downloaded them all in .jpeg

@hungdaica77
Copy link

how to fix 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

4 participants