-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Error when trying to train using DAdaptation optimizer #1160
Comments
Make sure you follow the error recommendation: You can't set different LR unless you set it to 0. |
Indeed, setting the Learning rate and Unet learning rate to 0 fixed the error and the training successfully started. But the following message appeared: |
Setting the value to 1 for all LR types cleared the error. I realized that I should set the same value of 1 or 0.5 for LR, UNet LR, TE LR and then there will be no error and the training will run fine. I'm also not sure if I should specify any value for LR at all, or if it should only be set for UNet LR and TE LR. It is also possible to set the value 0 for all, in this case the learning speed will increase many times, but I am not sure that it will give good training quality. I also found the information in this thread very useful, it helped me understand what values I should set for DAdaptation: #181 |
I don't know what's wrong, but I guess I just don't have DAdaptation installed correctly in the
kohya_ss\venv\Lib\site-packages
directory, although the dadaptation folder is present. I tried updating/installing dadaptation via activate with thepip install dadaptation
command, but it didn't work for me. I still get an error when trying to practice. In thevenv\Lib\site-packages directory
there is a dadaptation-3.1.dist-info folder with no executables, only metadata. Maybe I'm doing something wrong?The text was updated successfully, but these errors were encountered: