-
Notifications
You must be signed in to change notification settings - Fork 106
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
about: local variable 'step_size_min' referenced before assignment in pysurvival #53
Comments
I also have this issue. |
I also have this issue.
|
I think this project died so I wouldn't expect an update. Shame as it seemed like a useful package |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The error message is prompted by the step function in the rprop.py file in the user torch directory. You only need to initialize the variable that reports the error in this function, similar to step_size_min=[]
def step(self, closure=None):
......
F.rprop(params,
grads,
prevs,
step_sizes,
step_size_min=step_size_min,
step_size_max=step_size_max,
etaminus=etaminus,
etaplus=etaplus)
The text was updated successfully, but these errors were encountered: