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

Loss Nan for AutoFormer Base Model #143

Closed
rehulisw opened this issue Jan 4, 2023 · 1 comment
Closed

Loss Nan for AutoFormer Base Model #143

rehulisw opened this issue Jan 4, 2023 · 1 comment

Comments

@rehulisw
Copy link

rehulisw commented Jan 4, 2023

Thanks for your work!
I try to reproduce the base model for Autoformer, but met the problem that loss might be nan during 200th ~ 300th epochs. Do you have any idea to solve this problem?

@wkcn wkcn added the AutoFormer label Jan 4, 2023
@wkcn
Copy link
Contributor

wkcn commented Jan 4, 2023

Hi @rehulisw , thanks for your attention to our work!

You can try to disable AMP by adding the argument --no-amp, then resume the checkpoint in around the epoch 200th.

@wkcn wkcn closed this as completed Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants