Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 2.35 KB

README.md

File metadata and controls

43 lines (35 loc) · 2.35 KB

Installation

  1. Clone this repository
https://github.com/MasumBhai/Dataset-preparation-for-YOLO.git
  1. Requirement installation
pip3 install -r requirements.txt

Where to get labeled image dataset

Open Image Dataset

How to download those labeled image dataset

For Single Class Download to train & validation

python main.py downloader --classes "Missile" --type_csv train --limit 300
python main.py downloader --classes "Missile" --type_csv validation --limit 300

For Multiple Class Download to train & validation

python main.py downloader --classes "Ball" "Football" "Golf_ball" "Cricket_ball" "Tennis_ball" --type_csv train --limit 500
python main.py downloader --classes "Ball" "Football" "Golf_ball" "Cricket_ball" "Tennis_ball" --type_csv validation --limit 300

How to Annotate those downloaded images

python convert_annotations.py

Now, just remove label folder from each classes inside OID -> Dataset -> train & validation folder for YOLO processing

Acknowledgement

these two awesome repositories

Feedback

If you have any feedback, please reach out to me at [email protected]

Abdullah Al Masum's Github Stats Abdullah Al Masum's Github Streak