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

训练时验证结果与训练结束后加载模型的验证结果不同 #532

Open
Shu-Ang opened this issue Jan 9, 2025 · 1 comment
Open

Comments

@Shu-Ang
Copy link

Shu-Ang commented Jan 9, 2025

相同的验证集,相同的配置文件,在训练时验证的mAP与加载模型参数的验证mAP不一致。
这是训练时最后一个epoch的验证结果,我保存了推理结果,发现部分bbox与class预测较准,且score0.8左右:
image
这是使用tools/eval.py脚本加载model_final.pdparams参数的验证结果,同样保存了推理结果,发现模型几乎没有性能,预测结果与ground truth相差很大,且score均小于0.1(与未训练的模型效果差不多):
image
请问这是什么原因?

@lyuwenyu
Copy link
Owner

你选一下best模型试一试

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