add /path/to to gen_label doc

This commit is contained in:
WenmuZhou 2021-07-19 11:19:59 +08:00
parent 57556882ff
commit b47ab9bb71
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ PaddleOCR 也提供了数据格式转换脚本,可以将官网 label 转换支
```
# 将官网下载的标签文件转换为 train_icdar2015_label.txt
python gen_label.py --mode="det" --root_path="icdar_c4_train_imgs/" \
python gen_label.py --mode="det" --root_path="/path/to/icdar_c4_train_imgs/" \
--input_path="ch4_training_localization_transcription_gt" \
--output_label="train_icdar2015_label.txt"
```