fuy34 / superpixel_fcn

[CVPR‘20] SpixelFCN: Superpixel Segmentation with Fully Convolutional Network
Other
392 stars 80 forks source link

[..evaluation_summary.cpp]:1236 [0] Ground truth 1 not found for file 0/200. #48

Open Kitsmi opened 10 months ago

Kitsmi commented 10 months ago

Hello author, when I tried to evaluate my training in benchmark (when running 'my_eval.sh'), the following error occurred, please help me thank you image

Here is the contents of my_eval.sh: image

other files: image

RbtJhs commented 9 months ago

I had the same issue. In my case, the problem was that not all files had the correct name. IIrc the test-images and the the Spx-CSV files ended with "_img", while the gt had no such ending. For this reason, the evaluation code couldn't find the corresponding GT for the segmentations. Removing the "_img" ending for the test-images and Spx-CSV solved this issue for me

Kitsmi commented 8 months ago

I had the same issue. In my case, the problem was that not all files had the correct name. IIrc the test-images and the the Spx-CSV files ended with "_img", while the gt had no such ending. For this reason, the evaluation code couldn't find the corresponding GT for the segmentations. Removing the "_img" ending for the test-images and Spx-CSV solved this issue for me

Hello, thank you very much for your solution. I tried to delete the suffix '_img' of the corresponding file, the previous problem was partially solved, now the problem is as follows (it only shows that a file cannot be found) : image

test-images: image

Spx-CSV: image

my_eval.sh: image

Have you ever encountered this problem? I checked the folder and did not find any problems, at least the file name format is uniform.

I also tried to modify only the contents of 'map_csv' and add the '_img' suffix to all the files in the folder, and found the same error: Ground truth 5 not found for file 23/200.

Thank you very much for your help, and I would appreciate it if you could continue to help me solve this problem