Open swiftDoer opened 1 year ago
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'
I found a Colab solution here, it works with Python 3.8
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'