sacmehta / ESPNet

ESPNet: Efficient Spatial Pyramid of Dilated Convolutions for Semantic Segmentation
https://sacmehta.github.io/ESPNet/
MIT License
541 stars 112 forks source link

IndexError: list index out of range #38

Closed msson closed 5 years ago

msson commented 5 years ago

Hi, I tried to train my own dataset (4263 images and 4263 labeled images) and I've gotten this error below.

2018-11-19 16-39-12

I do not know what the problem is.

Thanks.

msson commented 5 years ago

I already checked the number of images and also checked .txt files.

sacmehta commented 5 years ago

Could you please upload a small subset of your train.txt file?

msson commented 5 years ago

/trainIm/180824-161340CAM1_50V_C_Rear.png,/trainAnnot/180824-161340CAM1_50V_C_Rear_All_Grey.png /trainIm/180824-161340CAM1_86V_C_Rear.png,/trainAnnot/180824-161340CAM1_86V_C_Rear_All_Grey.png

msson commented 5 years ago

I solved this problem it was because of input file format. (I use .png but found some .bmp files in the folder.)