Skip to content

Assertion failed Error while running #2

@ashiqimran

Description

@ashiqimran

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions