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 #116

Open
xiaotiancai899 opened this issue Sep 14, 2022 · 4 comments
Open

loss函数为nan #116

xiaotiancai899 opened this issue Sep 14, 2022 · 4 comments

Comments

@xiaotiancai899
Copy link

开始训练模型后,所有的loss函数都是nan值,该怎么改呢?求助!!!!!!!!

248528e597dfd98255a86c3950dc673

@wanghuogen
Copy link

Have you solved this problem? I also met same problem when I trained with our own dataset.

@kafei123456
Copy link

我改了base_LR=0.0002 和 defaults.py中的_C.SOLVER.IMA_PER_BATCH=2 以及 NUM_CLASS = 82。成功了

@kafei123456
Copy link

你解决了这个问题吗?当我使用我们自己的数据集进行训练时,我也遇到了同样的问题。

我改了base_LR=0.0002 和defaults.py中的_C.SOLVER.IMA_PER_BATCH=2 以及NUM_CLASS = 82。成功了

@zhaozhen2333
Copy link

This problem seems to be solved when using two or more GPUs

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

4 participants