Rename min_orig_resolution to skip_image_resolution; remove max_orig_resolution

This commit is contained in:
woctordho
2026-02-20 22:59:40 +08:00
parent af3a55b21d
commit 47afa8b2bd
3 changed files with 22 additions and 50 deletions

View File

@@ -1085,8 +1085,7 @@ class NetworkTrainer:
"enable_bucket": bool(dataset.enable_bucket),
"min_bucket_reso": dataset.min_bucket_reso,
"max_bucket_reso": dataset.max_bucket_reso,
"min_orig_resolution": dataset.min_orig_resolution,
"max_orig_resolution": dataset.max_orig_resolution,
"skip_image_resolution": dataset.skip_image_resolution,
"tag_frequency": dataset.tag_frequency,
"bucket_info": dataset.bucket_info,
"resize_interpolation": dataset.resize_interpolation,
@@ -1193,8 +1192,7 @@ class NetworkTrainer:
"ss_bucket_no_upscale": bool(dataset.bucket_no_upscale),
"ss_min_bucket_reso": dataset.min_bucket_reso,
"ss_max_bucket_reso": dataset.max_bucket_reso,
"ss_min_orig_resolution": dataset.min_orig_resolution,
"ss_max_orig_resolution": dataset.max_orig_resolution,
"ss_skip_image_resolution": dataset.skip_image_resolution,
"ss_keep_tokens": args.keep_tokens,
"ss_dataset_dirs": json.dumps(dataset_dirs_info),
"ss_reg_dataset_dirs": json.dumps(reg_dataset_dirs_info),