Skip to content

SeungjaeLim/Global-Wheat-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YOLOv8 sample implementation

Installation

conda create -n YOLOv8 python=3.10 -y
conda activate YOLOv8

pip install ultralytics

Pip install the ultralytics package including all requirements in a Python>=3.8 environment with PyTorch>=1.8.

Train

  • Run python src/train.py for training

Test

  • Run python src/test.py for testing

Dataset structure

├── dataset 
    ├── train
        ├── images
            ├── 2.jpg
            ├── 3.jpg
            ├── ...
        ├── labels
            ├── 2.txt
            ├── 3.txt
            ├── ...
    ├── val
        ├── images
            ├── 20.jpg
            ├── 30.jpg
            ├── ...
        ├── labels
            ├── 20.txt
            ├── 30.txt
            ├── ...
    ├── test
        ├── images
            ├── 200.jpg
            ├── 300.jpg
            ├── ...
        ├── labels
            ├── 200.txt
            ├── 300.txt
            ├── ...

Reference

Releases

No releases published

Packages

No packages published