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

-215:Assertion failed #190

Open
swiftDoer opened this issue Jan 17, 2023 · 1 comment
Open

-215:Assertion failed #190

swiftDoer opened this issue Jan 17, 2023 · 1 comment

Comments

@swiftDoer
Copy link

Wanted to try out inpainting on Google colab. Get the following error at the last step:

processing patch 54 | [960 0 197 197]
processing patch 55 | [1034 0 197 197]
finished
0% 0/1 [00:53<?, ?it/s]
Traceback (most recent call last):
File "main.py", line 72, in
image = cv2.resize(image, (config['output_w'], config['output_h']), interpolation=cv2.INTER_AREA)
cv2.error: OpenCV(4.2.0) /io/opencv/modules/imgproc/src/resize.cpp:3688: error: (-215:Assertion failed) !dsize.empty() in function 'resize'

@SlimeVRX
Copy link

I found a Colab solution here, it works with Python 3.8

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

2 participants