- Clone this repository
https://github.com/MasumBhai/Dataset-preparation-for-YOLO.git
- Requirement installation
pip3 install -r requirements.txt
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
python convert_annotations.py
Now, just remove label folder from each classes inside OID -> Dataset -> train & validation folder for YOLO processing
these two awesome repositories
If you have any feedback, please reach out to me at [email protected]