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

this repo is good ONLY for INFERENCE with PROVIDED WEIGHTS.

Open ScottHoang opened this issue 5 years ago • 8 comments

like the title said, this implementation suffers serious issue when trained from scratch with mAP stalling at around 20%. If you are planning to train this on custom data, I suggest go looking at a different PyTorch implementation of yolo.

ScottHoang avatar Jun 15 '20 03:06 ScottHoang

Hi @voodoopotato do you have a suggestion of a good pytorch implementation? I've found different ones around so was curious to see what you think.

tjiagoM avatar Jun 16 '20 16:06 tjiagoM

@tjiagoM yes I did. https://github.com/ultralytics/yolov3. I achieved much much better results using their model.

ScottHoang avatar Jun 16 '20 19:06 ScottHoang

@voodoopotato @tjiagoM do you think I can achieve results here training on only 100 images?

Khalifa1997 avatar Jul 12 '20 19:07 Khalifa1997

No.

ScottHoang avatar Jul 12 '20 19:07 ScottHoang

@voodoopotato thanks for the quick reply, I am abit lost here though, what approachs do you think I should look into with dataset of that size? thanks!

Khalifa1997 avatar Jul 12 '20 19:07 Khalifa1997

@Khalifa1997 maybe I was a bit in haste. One hundred images are very small sample population but can be artificially multiplied with proper data-augmentation. It depends on how many cls you have, how common they are in your samples, etc... But as I said in my title, this repo is only suitable for inference.

ScottHoang avatar Jul 12 '20 19:07 ScottHoang

@tjiagoM yes I did. https://github.com/ultralytics/yolov3. I achieved much much better results using their model.

Are there any minimal Yolov3 implementations that achieve the original results from the authors? The Ultralytics repo seems to be quite heavy to develop on.

aningineer avatar Jul 27 '21 06:07 aningineer

This issue may not be true. I trained on my own dataset from scratch, the mAP reaches 50+%.

XZLeo avatar May 24 '22 11:05 XZLeo