TF-DeepHand icon indicating copy to clipboard operation
TF-DeepHand copied to clipboard

Assertion failed Error while running

Open ashiqimran opened this issue 7 years ago • 3 comments

I am getting following error, any suggestions File "evaluation.py", line 80, in batched_input[j,:,:,:] = utils.preprocess_image(img, mean); File "/home/ashiqimran/Desktop/TF-DeepHand/deephand/utils.py", line 14, in preprocess_image img = cv2.resize(img, (227, 227));
cv2.error: OpenCV(3.4.2) /io/opencv/modules/imgproc/src/resize.cpp:4044: error: (-215:Assertion failed) !ssize.empty() in function 'resize'

ashiqimran avatar Aug 24 '18 16:08 ashiqimran

solved the issue.

ashiqimran avatar Aug 31 '18 00:08 ashiqimran

solved the issue.

How did you solve this issue? I faced with the same problem

Lipetskikh avatar Oct 21 '18 15:10 Lipetskikh

code_path = 'C:/Users/.../TF-DeepHand/' data_path = 'C:/Users/.../TF-DeepHand/input/' Make sure to download images and put image folder (i.e. "final_phoenix_noPause_noCompound_lefthandtag_noClean" ) inside \TF-DeepHand\input\images That will work.

XingLiangLondon avatar May 22 '19 09:05 XingLiangLondon