PeizeSun / SparseR-CNN

[CVPR2021, PAMI2023] End-to-End Object Detection with Learnable Proposal
MIT License
1.32k stars 187 forks source link

检测不了物体 #101

Closed ztyf-lq closed 2 years ago

ztyf-lq commented 2 years ago

作者大大您好,我想学习您的论文,但是在跑deom的时候,出现了以下提示:[01/17 19:30:01 d2.checkpoint.c2_model_loading]: The checkpoint state_dict contains keys that are not used by the model: stem.fc.{bias, weight} 然后我跑demo在我指定上的图片实际上有物体,但是检测不出来,于是我就调整confidence-threshold,发现0.2以上都检测不了物体,在0.2以下检测有物体,但是检测结果是混乱的。我用的是您的权重,每个都试过了一次。请问能帮我解答吗?谢谢。

PeizeSun commented 2 years ago

Hi~ You should use the trained models, instead of ImageNet pre-trained models.