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

使用COCO数据集训练,loss很快变为nan #23

Open
Guofeng-Lin opened this issue Oct 9, 2021 · 3 comments
Open

使用COCO数据集训练,loss很快变为nan #23

Guofeng-Lin opened this issue Oct 9, 2021 · 3 comments

Comments

@Guofeng-Lin
Copy link

启动train_from_scartch.py后,第一个epoch还没有训练完,loss就从61直接变为nan。
我没有调整任何超参,是learning rate = 0.001太高了的原因吗?

@calmiLovesAI
Copy link
Owner

可能是我的代码中COCO数据集处理上的问题

@Guofeng-Lin
Copy link
Author

请问是write_coco_to_txt.py运行过程中出现了问题了吗?

@calmiLovesAI
Copy link
Owner

应该是解析coco数据集的代码问题,在文件parse_coco.py中,我没有用官方的pycocotools工具

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