Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,33 @@ These are simple examples. For more customization details, please refer to [Note

## Training

### Dataset Format

1. structure
```
{dataset1}
├── images
│   ├── test
│   │   └── 1.jpg
│   ├── train
│   │   └── 2.jpg
│   └── val
│   └── 3.jpg
└── labels
├── test
│   └── 1.txt
├── train
│   └── 2.txt
└── val
└── 3.txt
```

2. label format
id is integer, coordinates are scaled to 0 ~ 1
```
id xmin ymin xmax ymax
```

To train YOLO on your machine/dataset:

1. Modify the configuration file `yolo/config/dataset/**.yaml` to point to your dataset.
Expand Down
1 change: 0 additions & 1 deletion yolo/utils/logging_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ def log_model_structure(model: Union[ModuleList, YOLOLayer, YOLO]):
console.print(table)


@rank_zero_only
def validate_log_directory(cfg: Config, exp_name: str) -> Path:
base_path = Path(cfg.out_path, cfg.task.task)
save_path = base_path / exp_name
Expand Down