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

Model giving nan loss in supervised setting. #34

Open
arc-arnob opened this issue Jan 27, 2025 · 1 comment
Open

Model giving nan loss in supervised setting. #34

arc-arnob opened this issue Jan 27, 2025 · 1 comment

Comments

@arc-arnob
Copy link

When trying to train in Crypto Dataset the model does not train properly and loss reported during training is always nan. I ran the model with other datasets as well, mostly related worked well but not for Crypto currency.

https://www.kaggle.com/competitions/g-research-crypto-forecasting/data?select=example_sample_submission.csv

@gasvn
Copy link
Member

gasvn commented Jan 29, 2025

You can try reducing the learning rate and adjusting the batch size. Additionally, some data might be out of distribution, so you can identify such instances by analyzing the training loss.

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