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

8G显存如何调整参数训练 #28

Open
Hammer-888 opened this issue Sep 20, 2023 · 3 comments
Open

8G显存如何调整参数训练 #28

Hammer-888 opened this issue Sep 20, 2023 · 3 comments

Comments

@Hammer-888
Copy link

如题,加载DOTA2数据后,训练时提示显存不够,如何解决,谢谢!
image

@Shank2358
Copy link
Owner

如题,加载DOTA2数据后,训练时提示显存不够,如何解决,谢谢! image

这是显存不够的问题,在config里面调小训练的batch size,或者缩小输入的训练图像尺寸

@Hammer-888
Copy link
Author

谢谢您的回答,调整后能够跑了,mAP为0请问是数据处理不正确的吗
image

@Shank2358
Copy link
Owner

谢谢您的回答,调整后能够跑了,mAP为0请问是数据处理不正确的吗 image

您好,不是的,train里面有设置不是从第一个epoch就开始验证测mAP,所以显示是0,可以修改下面这里:
image

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