Update README.md

This commit is contained in:
rooneysh 2021-08-19 15:27:53 +08:00 committed by GitHub
parent 437f5db863
commit 2292203d51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -2,12 +2,17 @@
Convert LabelMe Annotation Tool JSON format to YOLO text file format.
## Parameters
## Parameters Explain
**--json_dir** LabelMe JSON files folder path.
**--val_size (Optional)** Validation dataset size, for example 0.2 means 20% for validation and 80% for training.
**--json_name (Optional)** Convert single LabelMe JSON file.
Run python by below command.
## How to Use
### Convert JSON Files, split training and validation dataset by --val_size
Run python command.
```bash
python labelme2yolo.py --json_dir /home/username/labelme_json_dir/ --val_size 0.2
```