SamsungLabs / iterdet

[S+SSPR2020] IterDet: Iterative Scheme for Object Detection in Crowded Environments
https://arxiv.org/abs/2005.05708
Mozilla Public License 2.0
210 stars 39 forks source link

error #10

Closed nuaayuyang closed 4 years ago

nuaayuyang commented 4 years ago

dear author: when I am running your code ,I have got this error,how can I solve it KeyError: 'AddHistory is not in the pipeline registry'

filaPro commented 4 years ago

Hi @nuaayuyang It's strange, because this class is definitely registered here: https://github.com/saic-vul/iterdet/blob/master/mmdet/datasets/pipelines/formating.py#L199 . Have you cloned this repo and not the original mmdetection? Can you check if AddHistory class is registered in this line in your local code?

nuaayuyang commented 4 years ago

dear author: Thanks for your raplay. Before that error, I had also got this error, KeyError: 'IterDetFasterRCNN is not in the detector registry' from your point,what I had done wrong ------------------ 原始邮件 ------------------ 发件人: "filaPro"<notifications@github.com>; 发送时间: 2020年6月25日(星期四) 晚上6:01 收件人: "saic-vul/iterdet"<iterdet@noreply.github.com>; 抄送: "余洋"<1184801710@qq.com>;"Mention"<mention@noreply.github.com>; 主题: Re: [saic-vul/iterdet] error (#10)

Hi @nuaayuyang It's strange, because this class is definitely registered here: https://github.com/saic-vul/iterdet/blob/master/mmdet/datasets/pipelines/formating.py#L199 . Have you cloned this repo and not the original mmdetection? Can you check if AddHistory class is registered in this line in your local code?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

filaPro commented 4 years ago

You missed something during installation. Please check https://github.com/saic-vul/iterdet/issues/6 where the same problem was solved.