mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-17 09:18:00 +00:00
Add --cdc_debug flag and tqdm progress for CDC preprocessing
- Add --cdc_debug flag to enable verbose bucket-by-bucket output - When debug=False (default): Show tqdm progress bar, concise logging - When debug=True: Show detailed bucket information, no progress bar - Improves user experience during CDC cache generation
This commit is contained in:
@@ -580,6 +580,12 @@ def setup_parser() -> argparse.ArgumentParser:
|
||||
help="Force recompute CDC cache even if valid cache exists"
|
||||
" / 有効なCDCキャッシュが存在してもCDCキャッシュを再計算",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--cdc_debug",
|
||||
action="store_true",
|
||||
help="Enable verbose CDC debug output showing bucket details"
|
||||
" / CDCの詳細デバッグ出力を有効化(バケット詳細表示)",
|
||||
)
|
||||
|
||||
return parser
|
||||
|
||||
|
||||
Reference in New Issue
Block a user