-
Notifications
You must be signed in to change notification settings - Fork 349
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
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() #3
Comments
I have got the same problem on Colab:
|
Traceback (most recent call last): |
You can just comment line 42 out |
i meet this question too |
preprocess_image.py line 42 -> assert image.shape == preprocessed_mask_image.shape |
As @VIkill33 said, you can just comment it out. That worked for me. the |
Traceback (most recent call last):
File "main.py", line 32, in
input_image = preprocess_image(image, args.watermark_type)
File "/content/watermark-removal/preprocess_image.py", line 42, in preprocess_image
assert image.shape == preprocessed_mask_image
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
The text was updated successfully, but these errors were encountered: