We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Unable to print out the optimizer:
optimizer = Ranger21(model.parameters(), 1000) print(optimizer)
print(optimizer) TypeError: 'str' object is not callable
I believe it is due to the @property decorator at
@property
pytorch_optimizer/pytorch_optimizer/optimizer/ranger21.py
Line 132 in edee372
__str__
The text was updated successfully, but these errors were encountered:
Hello, Thanks for the report!
you're right __str__ method is supposed to be a function, it's my mistake. I'll fix it right away.
Sorry, something went wrong.
now you can use v2.5.1 with the fix.
v2.5.1
Thank you!
No problem, thanks for maintaining the optimizers.
kozistr
No branches or pull requests
Unable to print out the optimizer:
print(optimizer) TypeError: 'str' object is not callable
I believe it is due to the
@property
decorator atpytorch_optimizer/pytorch_optimizer/optimizer/ranger21.py
Line 132 in edee372
__str__
dunder is supposed to be a function rather than a property.The text was updated successfully, but these errors were encountered: