Open Muhammad-Zubair opened 3 years ago
Hi Muhammad. It seems that the model can't load your own image correctly. Can you run the demo images successfully?
Yes Demo images run was successful, however I am unable to use my own image to run the test, the above error occurred whenever I try my own image.
It's weird...What about replace the demo image with your own image (and rename your own image)? There may be a problem with the image path.
I have tried both ways, one I placed my own image with demo images and renamed it like 006.png and same with mask the error was same, then I tried by deleting demo images and only used my own one image and one mask it produced same error.
here is full error
2021-01-05 15:32:12.881648: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.1
Test with 6
Traceback (most recent call last):
File "main.py", line 219, in
Hi, another problem that I faced is, as I am running this repo in Colab, when
Hi, I want to know how i can use my own image for model testing. Because when I put simply a 256x256 image it gives an error. File "main.py", line 85, in load_lbp img_gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) cv2.error: OpenCV(4.1.2) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'