mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-16 00:49:40 +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:
@@ -635,6 +635,7 @@ class NetworkTrainer:
|
||||
gamma=args.cdc_gamma,
|
||||
force_recache=args.force_recache_cdc,
|
||||
accelerator=accelerator,
|
||||
debug=getattr(args, 'cdc_debug', False),
|
||||
)
|
||||
else:
|
||||
self.cdc_cache_path = None
|
||||
|
||||
Reference in New Issue
Block a user