YOLOv3_PyTorch icon indicating copy to clipboard operation
YOLOv3_PyTorch copied to clipboard

Prediction

Open crankson123 opened this issue 7 years ago • 3 comments

Thanks for your excellent and easily understanding script.

My simple question is how to predict, because there are no prediction module, modifying train.py or eval.py, I have no idea, hope to be answered.

crankson123 avatar Jun 21 '18 16:06 crankson123

Hi @crankson123, you can check the eval.py script, there is a portion where it returns x1, y1, x2, y2, obj_conf and obj_pred and you can use this to draw the bounding boxes and show the class labels and confidence scores on the image. This should not be too difficult to implement, I think, but yes, it is not included currently in this repository.

themathgeek13 avatar Jun 22 '18 09:06 themathgeek13

@crankson123 @themathgeek13 Hi, I had add a test_images.py to test folder. Please update code to use it. Any issue please let me know.

BobLiu20 avatar Jun 28 '18 03:06 BobLiu20

@crankson123 @themathgeek13 Hi, I had add a test_images.py to test folder. Please update code to use it. Any issue please let me know.

Hi ,I change the dataset to voc,but,when I trained the model,when I test the model,the output is nothing,the output is the origin image,there is haven't dections result in the image.Can you tell me this is why?Thank you very much!(I think it is the way of load model has some error?)

BCWang93 avatar Apr 05 '19 04:04 BCWang93