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

np.Inf in tools.py #7

Open
jsemrau opened this issue Nov 10, 2024 · 0 comments
Open

np.Inf in tools.py #7

jsemrau opened this issue Nov 10, 2024 · 0 comments

Comments

@jsemrau
Copy link

jsemrau commented Nov 10, 2024

Error description
When starting the default training as outlined in the main description
bash ./scripts/forecast_exogenous.EOF.TimerX.sh
The script fails with the following error
"AttributeError : 'np.Inf' was removed in the Numpy 2.0 release. Use 'np.inf' instead.

Platform
Ubuntu / Python 3.12

Solution
Change in "tools.py" in class "EarlyStopping" line 37 to
self.val_loss_min = np.inf

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

1 participant