Commit
·
871bc9e
1
Parent(s):
ebe9a9d
Fix gen_vocab command in README
Browse files
README.md
CHANGED
|
@@ -21,7 +21,7 @@ docker run --gpus all -it -v /tmp/trocr-chinese:/trocr-chinese trocr-chinese:lat
|
|
| 21 |
8. Generate custom vocab:
|
| 22 |
```
|
| 23 |
python gen_vocab.py \
|
| 24 |
-
--dataset_path "dataset
|
| 25 |
--cust_vocab ./cust-data/vocab.txt
|
| 26 |
```
|
| 27 |
9. Download pretrained weights from https://pan.baidu.com/s/1rARdfadQlQGKGHa3de82BA, password: 0o65
|
|
|
|
| 21 |
8. Generate custom vocab:
|
| 22 |
```
|
| 23 |
python gen_vocab.py \
|
| 24 |
+
--dataset_path "dataset/*.txt" \
|
| 25 |
--cust_vocab ./cust-data/vocab.txt
|
| 26 |
```
|
| 27 |
9. Download pretrained weights from https://pan.baidu.com/s/1rARdfadQlQGKGHa3de82BA, password: 0o65
|