forked from LmeSzinc/text_renderer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
13 lines (9 loc) · 1015 Bytes
/
Copy pathMakefile
File metadata and controls
13 lines (9 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
gen-number:
python main.py --config_file configs/default_test.yaml --output_dir output --tag number --corpus_mode random --chars_file data/chars/number.txt --fonts_list data/fonts/eng --length 20 --clip_max_chars --strict --space_ratio 0 --num_img 20
gen-eng:
python main.py --config_file configs/default_test.yaml --output_dir output --tag eng --corpus_mode eng --chars_file data/chars/eng.txt --corpus_dir data/corpus/words.txt --fonts_list data/fonts/eng,data/fonts/chn --length 20 --clip_max_chars --strict --space_ratio 0 --num_img 20
gen-chn:
python main.py --config_file configs/default_test.yaml --output_dir output --tag chn --corpus_mode random --fonts_list data/fonts/chn --length 10 --strict --space_ratio 0 --num_img 100
.PHONY: gen-number gen-eng gen-chn
gen-al:
python main.py --config_file configs/default.yaml --output_dir output --tag al --corpus_mode random --fonts_list data/fonts/al --length 20 --chars_file data/chars/al.txt --charset_file data/label_al.txt --num_img 100