• Stars
    star
    98
  • Rank 345,882 (Top 7 %)
  • Language
  • License
    Apache License 2.0
  • Created about 6 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

yolov3 with SPP weights pretrained on Open Images dataset along with config files

If weights do not download for you, chances are the repository is over the git lfs quota. Please pull from the bitbucket repository which does not have this limitation.

This repository contains yolov3 weights along with config files. The model achieves an mAP of 42.407 on the private LB for the Kaggle Open Images challenge.

In order to use these weights you will need to have darknet installed. You can read more about it on the project website.

There are multiple ways to use darknet for detection. One way would be to create a txt file with paths to images you would like to run detection on and pointing to that file from the included yolo.data file.

The command to run detection (assuming darknet is installed in the root of this repo) is: ./darknet/darknet detector valid yolo.data yolov3-spp.cfg yolov3-spp_final.weights

I am sharing these weights on the assumption that they might be useful to someone. I am unable to provide any support should you encounter any issues. Yolo is not very easy to troubleshoot and if you get a segfault it is up to you to figure out what went wrong.

Having said that, the config files here worked for me and are a useful starting point. Note that class names are prefixed by '/m/'. This prefix has been removed from yolo.names. Having this prefix there interferes with creating output files.

Here is the citation for the paper that introduces yolov3:

@article{yolov3, title={YOLOv3: An Incremental Improvement}, author={Redmon, Joseph and Farhadi, Ali}, journal = {arXiv}, year={2018} }

I provide a brief overview of how I trained the model here.