Skip to content

Instantly share code, notes, and snippets.

@jfjensen
Created October 1, 2022 17:08
Show Gist options
  • Save jfjensen/5fd668f71bdb42dcbaf490ab53b40c4e to your computer and use it in GitHub Desktop.
Save jfjensen/5fd668f71bdb42dcbaf490ab53b40c4e to your computer and use it in GitHub Desktop.
YAML file describing the training data
# YOLOv5 🚀 by Ultralytics, GPL-3.0 license
# Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..]
path: ../PROJECT/ready_data/train_data # dataset root dir
train: images/train # train images (relative to 'path')
val: images/val # val images (relative to 'path')
test: ../PROJECT/ready_data/test_data # test images (optional)
# Classes
names:
0: Iron Ore
1: Hemp
2: Flax
3: Travertine
4: Sandstone
5: Rough Logs
6: Cotton
7: Limestone
8: Copper Ore
9: Tin Ore
10: Rough Stone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment