Skip to content
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

ZeroDivisionError when calculating local lr #3

Open
KaiChen1998 opened this issue Feb 6, 2021 · 1 comment
Open

ZeroDivisionError when calculating local lr #3

KaiChen1998 opened this issue Feb 6, 2021 · 1 comment

Comments

@KaiChen1998
Copy link

Hi!

I have come into a ZeroDivisionError: float division by zero error when using your LARS code, which is reported to happen at line 87 of lars.py. To fix this, I simply add a small epsilon behind. Just to make sure, is it a small bug or something wrong with my model?

Thank you!

@JrPeng
Copy link

JrPeng commented May 13, 2021

@KaiChen1998 I have met the same cases. Have you ever resolved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants