fix: use jpg instead of png to save space
Browse files
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}.
|
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)
|