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

Is it correct that Nan appears in the loss? #32

Open
cjfghddl0206 opened this issue May 11, 2023 · 5 comments
Open

Is it correct that Nan appears in the loss? #32

cjfghddl0206 opened this issue May 11, 2023 · 5 comments

Comments

@cjfghddl0206
Copy link

I ran the code as written on github.
However, after a certain point, the loss is all Nan.
I think it's a loss of the dataset, so I recreated the pkl file with create_data.py, but Nan comes out as it is. Is it correct to run the training to the end even if Nan comes out?

@DezeZhao
Copy link

maybe you need to change the batch size, I met this situation as well.

@cjfghddl0206
Copy link
Author

cjfghddl0206 commented May 11, 2023

배치 크기를 변경해야 할 수도 있습니다. 이 상황도 만났습니다.

Did you change the batch size from how many to how many?

@DezeZhao
Copy link

8 to 4

@cjfghddl0206
Copy link
Author

8 to 4

Where should I edit it? I can't see the batch size 8 part.

@zhaowenZhou
Copy link

8 to 4

Where should I edit it? I can't see the batch size 8 part.

samples_per_gpu

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

3 participants