CalamitousFelicitousness
|
26c679f9e7
|
refactor(caption): remove unused _device tracking property
|
2026-01-21 11:56:07 +00:00 |
|
CalamitousFelicitousness
|
6b10f0df4f
|
refactor(caption): address PR review feedback
Rename WD14 module and settings to WaifuDiffusion:
- Rename wd14.py to waifudiffusion.py
- Rename WD14Tagger class to WaifuDiffusionTagger
- Rename WD14_MODELS constant to WAIFUDIFFUSION_MODELS
- Rename settings: wd14_model -> waifudiffusion_model,
wd14_character_threshold -> waifudiffusion_character_threshold
- Update all log messages from "WD14" to "WaifuDiffusion"
Code quality improvements:
- Simplify threshold parameter defaulting using `or` operator
- Extract save_output logic into _save_tags_to_file() helper with
isolated error handling to prevent single file failures from
impacting entire batch
- Fix timing log format consistency (remove 's' suffix)
|
2026-01-21 11:56:07 +00:00 |
|
CalamitousFelicitousness
|
5abb794462
|
style(test): remove unused imports in test-tagger.py
|
2026-01-21 11:56:07 +00:00 |
|
CalamitousFelicitousness
|
becb19319d
|
refactor(caption): unify tagger settings and reorganize Caption Tab UI
Consolidate WD14 and DeepBooru tagger settings into unified options:
- Merge wd14_general_threshold + deepbooru_score_threshold → tagger_threshold
- Merge wd14_include_rating + deepbooru_include_rating → tagger_include_rating
- Rename interrogate_score → tagger_show_scores
- Rename tagger_escape → tagger_escape_brackets
- Rename CLiP → OpenCLiP in caption type choices
UI reorganization:
- Add Interrogate tab to Caption Tab with default caption type selector
- Move interrogate_offload to Model Offloading section as "Offload caption models"
- Hide Interrogate settings section (all settings now in Caption Tab UI)
- Update locale_en.json for OpenCLiP naming
Code improvements:
- DeepBooru tag_multi() now accepts same parameters as WD14 for unified interface
- Fix setting references in interrogate.py for consolidated settings
- Add comprehensive tagger test suite (cli/test-tagger.py)
|
2026-01-21 11:56:07 +00:00 |
|