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

训练的map为0 #9

Open
starsky68 opened this issue Jan 27, 2021 · 2 comments
Open

训练的map为0 #9

starsky68 opened this issue Jan 27, 2021 · 2 comments

Comments

@starsky68
Copy link

starsky68 commented Jan 27, 2021

请问在训练的时候map一直是0,是什么原因,源码没有改动,按照步骤取操作的,切图划分数据,但是训练的时候map为0,测试的时候map=[]
@DLLXW

@DLLXW
Copy link
Owner

DLLXW commented Jan 27, 2021

请问在训练的时候map一直是0,是什么原因,源码没有改动,按照步骤取操作的,切图划分数据,但是训练的时候map为0,测试的时候map=[]
@DLLXW

你看看你的loss是不是NaN了啊?就是你训练根本没有收敛会造成这种情况。如果是,那就尝试调节学习率,调低看看。

@starsky68
Copy link
Author

请问在训练的时候map一直是0,是什么原因,源码没有改动,按照步骤取操作的,切图划分数据,但是训练的时候map为0,测试的时候map=[]
@DLLXW

你看看你的loss是不是NaN了啊?就是你训练根本没有收敛会造成这种情况。如果是,那就尝试调节学习率,调低看看。

loss没有nan,我再调整一下学习率看看吧

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