| # data.yaml for YOLOv8 training on your weld defects dataset | |
| # root dataset folder (adjust if different) | |
| path: ./weld-1 | |
| train: train/images | |
| val: valid/images | |
| test: test/images # comment out or remove if you don’t have a test split | |
| # number of classes | |
| nc: 6 | |
| # class names (index → name) | |
| names: | |
| 0: Bad Welding | |
| 1: Crack | |
| 2: Excess Reinforcement | |
| 3: Good Welding | |
| 4: Porosity | |
| 5: Spatters | |