You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
by default, QDoubleSpinBox has a precision of 2 decimals... we need to change that if a very small value or step size has been entered.
(temporary workaround):
deffix_float(widget):
# have to use the Qt API for now... and reset the valuewidget.Learning_rate.native.setDecimals(4)
widget.Learning_rate.value=0.0001@magic_factory(call_button=True, rate={'step': 0.0001}, widget_init=fix_float)deftrain(rate: float=0.0001): ...
The text was updated successfully, but these errors were encountered:
by default, QDoubleSpinBox has a precision of 2 decimals... we need to change that if a very small value or step size has been entered.
(temporary workaround):
The text was updated successfully, but these errors were encountered: