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

FCOS实验结果问题 #60

Closed
changxin111 opened this issue Sep 19, 2022 · 5 comments
Closed

FCOS实验结果问题 #60

changxin111 opened this issue Sep 19, 2022 · 5 comments

Comments

@changxin111
Copy link

作者你好,我尝试复现你论文中的FCOS-Res101蒸馏FCOS-Res50,论文中为42.7
我跑了两次结果都为39.2左右,可以帮我看下问题出在哪里吗
我的配置是bs为4x4,lr为0.01,由于服务器限制,训练所需模型都预先下好并导入的
fgd-fcos.log

@yzd-v
Copy link
Owner

yzd-v commented Sep 19, 2022

你的老师的weight没有正确加载

@changxin111
Copy link
Author

请问这个问题要怎么解决呢?我没修改代码的其他部分,预训练模型也是按照网址直接下的。

@yzd-v
Copy link
Owner

yzd-v commented Sep 19, 2022

感觉你的代码有点问题呀,你看log里加载老师时的weight,写的是load from fcos_r50_caffe_fpn_gn-head_1x_coco-821213aa.pth

@yzd-v
Copy link
Owner

yzd-v commented Sep 19, 2022

哦 应该是fcos的初始化问题,你clone的是我很早的config,那个pretrained应该改到backbone的init里。你重新改一下student的config就行,我更新过的

@changxin111
Copy link
Author

我又重新看了一下我修改的部分,有可能是我模型下载导入错了,
不应该是fcos_r50_caffe_fpn_gn-head_1x_coco,应该是resnet50_caffe
明天我重新跑一下看看,非常感谢你的解答

@yzd-v yzd-v closed this as completed Sep 20, 2022
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