Closed Bella722 closed 6 years ago
I have solved this problem,the reason is my trained model leran nothing at all ,so the results[i] is empty. And the truely problem is that my data is gray img, the image depth is 1, but the input in net is 3, I use cv2.imread instead the imread, then everything is normal.
TypeError Traceback (most recent call last)