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

fix: use jpg instead of png to save space

Browse files
Files changed (1) hide show
  1. font_ds_generate_script.py +1 -1
font_ds_generate_script.py CHANGED
@@ -45,7 +45,7 @@ def generate_dataset(dataset_type: str, cnt: int):
45
  try:
46
  i, j, font = args
47
 
48
- image_file_name = f"font_{i}_img_{j}.png"
49
  label_file_name = f"font_{i}_img_{j}.bin"
50
 
51
  image_file_path = os.path.join(dataset_bath_dir, image_file_name)
 
45
  try:
46
  i, j, font = args
47
 
48
+ image_file_name = f"font_{i}_img_{j}.jpg"
49
  label_file_name = f"font_{i}_img_{j}.bin"
50
 
51
  image_file_path = os.path.join(dataset_bath_dir, image_file_name)