From 437f5db8633e3ca0e30d48cbfc1d0e22a6813308 Mon Sep 17 00:00:00 2001 From: rooneysh Date: Thu, 19 Aug 2021 15:25:12 +0800 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bdbc5ea..b286277 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,10 @@ Convert LabelMe Annotation Tool JSON format to YOLO text file format. -How to use: -Input LabelMe JSON folder as parameter for --json_dir, and define validation dataset size as parameter for --val_size. +## Parameters +**--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. ```bash