DeepTrial / Optic-Disc-Unet

Attention Unet model with post process for retina optic disc segmention
79 stars 25 forks source link

not enough values in test #5

Closed vcvishal closed 5 years ago

vcvishal commented 5 years ago

Traceback (most recent call last): File "main_test.py", line 40, in main_test() File "main_test.py", line 28, in main_test infer.predict() File "C:\Users\vcvis\Desktop\Optic-Disc-Unet-master\perception\infers\segmentioninfer.py", line 51, in predict , contours, _ = cv2.findContours(binaryResult, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE) ValueError: not enough values to unpack (expected 3, got 2)

please help thank you

vcvishal commented 5 years ago

problem has solved

icsamir commented 4 years ago

Traceback (most recent call last): File "main_test.py", line 40, in main_test() File "main_test.py", line 28, in main_test infer.predict() File "C:\Users\vcvis\Desktop\Optic-Disc-Unet-master\perception\infers\segmentioninfer.py", line 51, in predict , contours, _ = cv2.findContours(binaryResult, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE) ValueError: not enough values to unpack (expected 3, got 2)

please help thank you

how did you solve it? I have the same problem