Open zhongtao93 opened 5 years ago
Did you use the version of this repo's detection or the latest mmdetection? This repo's detection code is a little bit out of date, yet the pretrained model is based on it.
I used the version of this repo's detection, all resource were depended on this repo.
And it seems that the latest mmdetection doesn't include the config file of cascade_rcnn_fpn_20e_sge_resnet101.py
ok, I'll check it soon.
------------------ 原始邮件 ------------------ 发件人: "Tao Zhong"<notifications@github.com>; 发送时间: 2019年11月15日(星期五) 下午3:19 收件人: "implus/PytorchInsight"<PytorchInsight@noreply.github.com>; 抄送: "子羽牧羊"<674592809@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [implus/PytorchInsight] Load pretrained moel failed in Detection (#25)
And it seems that the latest mmdetection doesn't include the config file of cascade_rcnn_fpn_20e_sge_resnet101.py
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi, I've test the repo again in a new environment with python 3.6 and pytorch 1.1.0, and do not get the loading problem as you describe, e.g., using the pretrained model SGE-ResNet101, to run the test code like:
python tools/test.py local_configs/cascade_rcnn_r101_fpn_20e_pretrain_sge_resnet101.py ../pretrain/cascade_rcnn_fpn_20e_sge_resnet101.pth --gpus 4 --eval bbox
It seems good and get a result of mAP 44.4 . If it works, the code for testing an image can also work well. Could you check it again by renewing your environment and setup the configures in this repo only?
Hi,
Thank you for sharing code!
I write a simple code for testing an image:
while the checkpoint was downloaded from README.MD. I get the error below:
It seems that the checkpoint file has a prefix 'backbore', but I don't know how to solve it.
Hoping for your reply!
Thank you!