Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v21.5.10 #754

Merged
merged 24 commits into from
May 9, 2023
Merged

v21.5.10 #754

merged 24 commits into from
May 9, 2023

Conversation

bmaltais
Copy link
Owner

@bmaltais bmaltais commented May 9, 2023

  • 2023/04/07 (v21.5.10)
    • Fix issue common_gui needs extra paraenthesis #734
    • The documentation has been moved to the docs folder. If you have links, please change them.
    • DAdaptAdaGrad, DAdaptAdan, and DAdaptSGD are now supported by DAdaptation. PR#455 Thanks to sdbds!
      • DAdaptation needs to be installed. Also, depending on the optimizer, DAdaptation may need to be updated. Please update with pip install --upgrade dadaptation.
    • Added support for pre-calculation of LoRA weights in image generation scripts. Specify --network_pre_calc.
      • The prompt option --am is available. Also, it is disabled when Regional LoRA is used.
    • Added Adaptive noise scale to each training script. Specify a number with --adaptive_noise_scale to enable it.
      • Experimental option. It may be removed or changed in the future.
      • This is an original implementation that automatically adjusts the value of the noise offset according to the absolute value of the mean of each channel of the latents. It is expected that appropriate noise offsets will be set for bright and dark images, respectively.
      • Specify it together with --noise_offset.
      • The actual value of the noise offset is calculated as noise_offset + abs(mean(latents, dim=(2,3))) * adaptive_noise_scale. Since the latent is close to a normal distribution, it may be a good idea to specify a value of about 1/10 to the same as the noise offset.
      • Negative values can also be specified, in which case the noise offset will be clipped to 0 or more.
    • Other minor fixes.

rockerBOO and others added 24 commits May 4, 2023 09:49
LoRA-C3Liar to LoRA-C3Lier to match the definition
* Update train_util.py for add DAdaptAdan and DAdaptSGD

* Update train_util.py for DAdaptadam

* Update train_network.py for dadapt

* Update train_README-ja.md for DAdapt

* Update train_util.py for DAdapt

* Update train_network.py for DAdaptAdaGrad

* Update train_db.py for DAdapt

* Update fine_tune.py for DAdapt

* Update train_textual_inversion.py for DAdapt

* Update train_textual_inversion_XTI.py for DAdapt
more dadapataion optimizer, move docs, adaptive noise scale etc.
@bmaltais bmaltais merged commit feb6728 into master May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants