v21.7.8
版本发布时间: 2023-06-17 18:39:36
bmaltais/kohya_ss最新发布版本:v24.1.7(2024-09-06 19:03:10)
- Add tkinter to dockerised version (thanks to @burdokow)
- Add option to create caption files from folder names to the
group_images.py
tool. - Prodigy optimizer is supported in each training script. It is a member of D-Adaptation and is effective for DyLoRA training. PR #585 Please see the PR for details. Thanks to sdbds!
- Install the package with
pip install prodigyopt
. Then specify the option like--optimizer_type="prodigy"
.
- Install the package with
- Arbitrary Dataset is supported in each training script (except XTI). You can use it by defining a Dataset class that returns images and captions.
- Prepare a Python script and define a class that inherits
train_util.MinimalDataset
. Then specify the option like--dataset_class package.module.DatasetClass
in each training script. - Please refer to
MinimalDataset
for implementation. I will prepare a sample later.
- Prepare a Python script and define a class that inherits
- The following features have been added to the generation script.
- Added an option
--highres_fix_disable_control_net
to disable ControlNet in the 2nd stage of Highres. Fix. Please try it if the image is disturbed by some ControlNet such as Canny. - Added Variants similar to sd-dynamic-propmpts in the prompt.
- If you specify
{spring|summer|autumn|winter}
, one of them will be randomly selected. - If you specify
{2$$chocolate|vanilla|strawberry}
, two of them will be randomly selected. - If you specify
{1-2$$ and $$chocolate|vanilla|strawberry}
, one or two of them will be randomly selected and connected byand
. - You can specify the number of candidates in the range
0-2
. You cannot omit one side like-2
or1-
. - It can also be specified for the prompt option.
- If you specify
e
orE
, all candidates will be selected and the prompt will be repeated multiple times (--images_per_prompt
is ignored). It may be useful for creating X/Y plots. - You can also specify
--am {e$$0.2|0.4|0.6|0.8|1.0},{e$$0.4|0.7|1.0} --d 1234
. In this case, 15 prompts will be generated with 5*3. - There is no weighting function.
- If you specify
- Added an option
What's Changed
- Docker working tkinter by @burdukow in https://github.com/bmaltais/kohya_ss/pull/982
- Bug fixes for validate_requirements.py by @primeinc in https://github.com/bmaltais/kohya_ss/pull/991
- Add prefix and postfix for WD14 captioning by @Balladie in https://github.com/bmaltais/kohya_ss/pull/994
- v21.7.8 by @bmaltais in https://github.com/bmaltais/kohya_ss/pull/1003
New Contributors
- @burdukow made their first contribution in https://github.com/bmaltais/kohya_ss/pull/982
- @primeinc made their first contribution in https://github.com/bmaltais/kohya_ss/pull/991
- @Balladie made their first contribution in https://github.com/bmaltais/kohya_ss/pull/994
Full Changelog: https://github.com/bmaltais/kohya_ss/compare/v21.7.7...v21.7.8