Kohya S
b11c053b8f
Merge branch 'dev' into sd3
2025-04-22 21:48:24 +09:00
Glen
26db64be17
fix: update hf_hub_download parameters to fix wd14 tagger regression
2025-04-19 11:54:12 -06:00
rockerBOO
7f2747176b
Use resize_image where resizing is required
2025-02-19 14:20:40 -05:00
Kohya S.
16bb5699ac
Merge pull request #1426 from sdbds/resize
...
Replacing CV2 resize to Pil resize
2024-09-07 10:22:52 +09:00
sdbds
9ca7a5b6cc
instead cv2 LANCZOS4 resize to pil resize
2024-07-20 21:59:11 +08:00
Kohya S
da6fea3d97
simplify and update alpha mask to work with various cases
2024-05-19 21:26:18 +09:00
frodo821
fdbb03c360
removed unnecessary torch import on line 115
...
as per #1290
2024-04-23 14:29:05 +09:00
Kohya S
cae5aa0a56
update wd14 tagger and doc
2024-03-30 21:48:22 +09:00
Kohya S
6ba84288d9
Merge pull request #1216 from Disty0/dev
...
Rating support for WD Tagger
2024-03-30 18:50:49 +09:00
Kohya S
ae3f625739
Merge branch 'dev' of https://github.com/kohya-ss/sd-scripts into dev
2024-03-30 14:57:43 +09:00
Kohya S
f1f30ab418
fix to work with num_beams>1 closes #1149
2024-03-30 14:57:39 +09:00
Disty0
bc586ce190
Add --use_rating_tags and --character_tags_first for WD Tagger
2024-03-29 13:56:42 +03:00
Disty0
954731d564
fix typo
2024-03-27 22:00:59 +03:00
Disty0
dd9763be31
Rating support for WD Tagger
2024-03-27 21:53:40 +03:00
Disty0
6f7e93d5cc
Add OpenVINO and ROCm ONNX Runtime for WD14
2024-03-27 03:21:13 +03:00
Kohya S
594c7f7050
format by black
2024-03-23 16:11:31 +09:00
Kohya S
80dbbf5e48
tagger now stores model under repo_id subdir
2024-03-20 16:14:57 +09:00
青龍聖者@bdsqlsz
a7dff592d3
Update tag_images_by_wd14_tagger.py
...
add WDV3
2024-03-18 22:29:05 +08:00
Kohya S
358ca205a3
Merge branch 'dev' into dev_device_support
2024-02-12 13:01:54 +09:00
Kohya S
7202596393
log to print tag frequencies
2024-02-10 09:59:12 +09:00
Yuta Hayashibe
5f6bf29e52
Replace print with logger if they are logs ( #905 )
...
* Add get_my_logger()
* Use logger instead of print
* Fix log level
* Removed line-breaks for readability
* Use setup_logging()
* Add rich to requirements.txt
* Make simple
* Use logger instead of print
---------
Co-authored-by: Kohya S <52813779+kohya-ss@users.noreply.github.com >
2024-02-04 18:14:34 +09:00
Disty0
a6a2b5a867
Fix IPEX support and add XPU device to device_utils
2024-01-31 17:32:37 +03:00
Aarni Koskela
478156b4f7
Refactor device determination to function; add MPS fallback
2024-01-23 14:29:03 +02:00
CjangCjengh
d31aa143f4
fix path error
2023-12-08 00:27:32 +08:00
CjangCjengh
710e777a92
fix path error
2023-12-08 00:22:13 +08:00
CjangCjengh
d653e594c2
fix path error
2023-12-06 09:48:42 +08:00
Kohya S
d0923d6710
add caption_separator option
2023-11-19 21:44:52 +09:00
Yuta Hayashibe
b2626bc7a9
Fix a typo
2023-10-26 00:51:17 +09:00
Kohya S
17813ff5b4
remove workaround for transfomers bs>1 close #869
2023-10-11 07:40:12 +09:00
Kohya S
406511c333
add error message if model.onnx doesn't exist
2023-10-09 17:08:58 +09:00
Kohya S
07d297fdbe
Merge branch 'dev' into onnx
2023-10-09 15:13:40 +09:00
Kohya S
0d4e8b50d0
change option to append_tags, minor update
2023-10-09 15:09:54 +09:00
Isotr0py
b8b84021e5
fix a typo
2023-10-08 20:49:03 +08:00
Isotr0py
70fe7e18be
add onnx to wd14 tagger
2023-10-08 20:31:10 +08:00
alexds9
9378da3c82
Fix comment
2023-10-05 21:29:46 +03:00
alexds9
a4857fa764
Add append_captions feature to wd14 tagger
...
This feature allows for appending new tags to the existing content of caption files.
If the caption file for an image already exists, the tags generated from the current
run are appended to the existing ones. Duplicate tags are checked and avoided.
2023-10-05 21:26:09 +03:00
Kohya S
6889ee2b85
add warning for bucket_reso_steps with SDXL
2023-08-11 19:02:36 +09:00
Kohya S
94c151aea3
refactor caching latents (flip in same npz, etc)
2023-07-15 18:28:33 +09:00
Kohya S
cc3d40ca44
support sdxl in prepare scipt
2023-07-07 21:16:41 +09:00
mio
334d07bf96
Update make_captions.py
...
Append sys path for make_captions.py to load blip module in the same folder to fix the error when you don't run this script under the folder
2023-06-08 23:39:06 +08:00
mio
57bc2abf41
update parser format to match a global pattern
2023-04-26 20:11:32 +08:00
Kohya S
01df1c0cc4
don't replace underscore in emoji tags like ^_^
2023-04-19 12:42:20 +09:00
Kohya S
47d61e2c02
format by black
2023-04-17 22:00:26 +09:00
Kohya S
8f6fc8daa1
add ja comment, restore arg for backward compat
2023-04-17 21:58:55 +09:00
Linaqruf
c316c63dff
fix: bring positional args back, add recursive to blip etc
2023-04-12 05:41:28 +07:00
Linaqruf
07aa000750
feat: added 7 new functionalities including recursive
2023-04-07 16:51:43 +07:00
Robert Smieja
eb66e5ebac
Extract parser setup to helper function
...
- Allows users who `import` the scripts to examine the parser programmatically
2023-03-20 00:06:47 -04:00
Linaqruf
44d4cfb453
feat: added function to load training config with .toml
2023-03-12 11:52:37 +07:00
Kohya S
ea2dfd09ef
update bucketing features
2023-02-05 21:37:46 +09:00
Kohya S
1bec2bfe07
Add cleaning duplicated tags
2023-02-03 21:05:55 +09:00