PyTorch-ENet icon indicating copy to clipboard operation
PyTorch-ENet copied to clipboard

Wrong about test

Open ChaosNN opened this issue 7 years ago • 4 comments

The model I train and you provide both have this problem.

Avg. loss: 0.0000 | Mean IoU: nan unlabeled: nan road: nan sidewalk: nan building: nan wall: nan fence: nan pole: nan traffic_light: nan traffic_sign: nan vegetation: nan terrain: nan sky: nan person: nan rider: nan car: nan truck: nan bus: nan train: nan motorcycle: nan bicycle: nan

ChaosNN avatar Nov 25 '19 02:11 ChaosNN

if you ran cityscapes in test mode that's expected since the test set of cityscapes is private; therefore, there are no images

davidtvs avatar Nov 25 '19 21:11 davidtvs

So how to test on another test set after training ?

CodeByMaxx avatar Dec 04 '19 07:12 CodeByMaxx

You can test on CamVid, but for other datasets you have to do your own dataloader and the test script (maybe reusing the test function and/or test class).

davidtvs avatar Dec 05 '19 22:12 davidtvs

Ok thank you, kind regards.

CodeByMaxx avatar Dec 13 '19 07:12 CodeByMaxx