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

Nan in Loss/Score #6

Open
HanshuYAN opened this issue Nov 2, 2022 · 1 comment
Open

Nan in Loss/Score #6

HanshuYAN opened this issue Nov 2, 2022 · 1 comment

Comments

@HanshuYAN
Copy link

Dear Authors,

Thanks for the open-source codes. I run the cifar10 experiment on a single-card with the following code:

  • python main.py -cc configs/default_cifar10.txt -sc configs/specific_cifar10.txt --root $ROOT --mode train --workdir work_dir/cifar10 --n_gpus_per_node 1 --training_batch_size 64 --testing_batch_size 64 --sampling_batch_size 64

However, the loss is always nan (error in the line 61 of losses.py). I check the output values. The score values in line 45 are all NAN. Do you know how to solve this issue?

regards,
Hanshu

@Superviro
Copy link

Same problem here, any solutions?

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