TransResUNet icon indicating copy to clipboard operation
TransResUNet copied to clipboard

got this error when try to run test.py

Open faziii0 opened this issue 11 months ago • 1 comments

(trans) bvb@BVB:~/Pictures/TransResUNet$ python test.py 0%| | 0/120 [00:01<?, ?it/s] Traceback (most recent call last): File "/home/bvb/Pictures/TransResUNet/test.py", line 130, in evaluate(model, save_path, test_x, test_y, size) File "/home/bvb/Pictures/TransResUNet/test.py", line 82, in evaluate cv2.imread(unet_mask[i], cv2.IMREAD_COLOR), line, IndexError: list index out of range

faziii0 avatar Aug 03 '23 01:08 faziii0

(trans) bvb@BVB:~/Pictures/TransResUNet$ python test.py 0%| | 0/120 [00:01<?, ?it/s] Traceback (most recent call last): File "/home/bvb/Pictures/TransResUNet/test.py", line 130, in evaluate(model, save_path, test_x, test_y, size) File "/home/bvb/Pictures/TransResUNet/test.py", line 82, in evaluate cv2.imread(unet_mask[i], cv2.IMREAD_COLOR), line, IndexError: list index out of range

(trans) bvb@BVB:~/Pictures/TransResUNet$ python test.py 0%| | 0/120 [00:01<?, ?it/s] Traceback (most recent call last): File "/home/bvb/Pictures/TransResUNet/test.py", line 130, in evaluate(model, save_path, test_x, test_y, size) File "/home/bvb/Pictures/TransResUNet/test.py", line 82, in evaluate cv2.imread(unet_mask[i], cv2.IMREAD_COLOR), line, IndexError: list index out of range

请问你解决这个问题了吗?

ztgzttt avatar Nov 30 '23 06:11 ztgzttt