fix: remove `time_ns` as `time`
Browse files
font_ds_generate_script.py
CHANGED
|
@@ -31,7 +31,7 @@ test_cnt_cjk = int(test_cnt * cjk_ratio)
|
|
| 31 |
dataset_path = "./dataset/font_img"
|
| 32 |
os.makedirs(dataset_path, exist_ok=True)
|
| 33 |
|
| 34 |
-
unqualified_log_file_name = f"unqualified_font_{time.
|
| 35 |
|
| 36 |
|
| 37 |
fonts, exclusion_rule = load_fonts()
|
|
|
|
| 31 |
dataset_path = "./dataset/font_img"
|
| 32 |
os.makedirs(dataset_path, exist_ok=True)
|
| 33 |
|
| 34 |
+
unqualified_log_file_name = f"unqualified_font_{time.time()}.txt"
|
| 35 |
|
| 36 |
|
| 37 |
fonts, exclusion_rule = load_fonts()
|