gyrojeff commited on
Commit
be68e59
1 Parent(s): 48a5a65

fix: tune generation ratio

Browse files
Files changed (2) hide show
  1. font_ds_generate_script.py +1 -1
  2. font_ds_stat.py +1 -1
font_ds_generate_script.py CHANGED
@@ -20,7 +20,7 @@ num_workers = 32
20
  cjk_ratio = 3
21
 
22
  train_cnt = 100
23
- val_cnt = 10
24
  test_cnt = 30
25
 
26
  train_cnt_cjk = int(train_cnt * cjk_ratio)
 
20
  cjk_ratio = 3
21
 
22
  train_cnt = 100
23
+ val_cnt = 5
24
  test_cnt = 30
25
 
26
  train_cnt_cjk = int(train_cnt * cjk_ratio)
font_ds_stat.py CHANGED
@@ -13,7 +13,7 @@ from font_dataset.background import background_image_generator
13
  cjk_ratio = 3
14
 
15
  train_cnt = 100
16
- val_cnt = 10
17
  test_cnt = 30
18
 
19
  train_cnt_cjk = int(train_cnt * cjk_ratio)
 
13
  cjk_ratio = 3
14
 
15
  train_cnt = 100
16
+ val_cnt = 5
17
  test_cnt = 30
18
 
19
  train_cnt_cjk = int(train_cnt * cjk_ratio)