train-yolov8-custom-dataset-step-by-step-guide

Watch the video
Watch on YouTube: Train Yolo V8 object detector on your custom data | Step by step guide !

dataset

If you want to train yolov8 with the same dataset I use in the video, this is what you should do:

  1. Go to prepare_data directory.

  2. Download the downloader.py file.

  3. Download the object detection dataset; train, validation and test.

  4. Execute create_image_list_file.py.

  5. Execute downloader.py.

    python downloader.py $IMAGE_LIST_FILE --download_folder=$DOWNLOAD_FOLDER
    
  6. Execute create_dataset_yolo_format.py, changing DATA_ALL_DIR by $DOWNLOAD_FOLDER.