Nerogar / OneTrainer

OneTrainer is a one-stop solution for all your stable diffusion training needs.
GNU Affero General Public License v3.0
1.81k stars 154 forks source link

[Bug]: UI Input processing truncating float values for Learning Rate Cycles #554

Closed pbrownrobo closed 1 week ago

pbrownrobo commented 2 weeks ago

What happened?

want to set a Learning Rate Cycles value of 0.5 I see that the back-end has that value typed as a float. However, it seems that the UI is only pulling it as an int. I dont understand the ui code enough to submit a PR, so guess I need to submit this as a bug.

You can have a quick verification of this bug, by putting in a value of 0.5, and saving the config. If you then examine the config file, it will show

"learning_rate_cycles": 0,

What did you expect would happen?

it should save the actual input value.

Relevant log output

No response

Output of pip freeze

No response

Nerogar commented 1 week ago

Fixed. The UI now allows float values