alexgkendall / SegNet-Tutorial

Files for a tutorial to train SegNet for road scenes using the CamVid dataset
http://mi.eng.cam.ac.uk/projects/segnet/tutorial.html
847 stars 517 forks source link

matching test-prediction images #118

Open mpapadomanolaki opened 6 years ago

mpapadomanolaki commented 6 years ago

Hi.

I am trying to test my model with the instructed command (python /SegNet/Scripts/test_segmentation_camvid.py --model /SegNet/Models/segnet_inference.prototxt --weights /SegNet/Models/Inference/test_weights.caffemodel --iter 233 # Test SegNet).

Everything works fine, however the predicted images are not in the same order as the test images. So it's a little difficult to make the matching, to produce a confusion matrix for example. Is there any command that will help me to produce the predictions in a more organised way ??

Thank you.

ArunJ1 commented 5 years ago

pls help

mpapadomanolaki commented 5 years ago

Hi. Unfortunately it's been a long time and I don't remember how and if I solved this. For sure I gave up Caffe and I started using PyTorch.

ArunJ1 commented 5 years ago

Can anyone else who solved this issue? Pls help@alexgkendall