ppengtang / pcl.pytorch

PyTorch codes for our papers "Multiple Instance Detection Network with Online Instance Classifier Refinement" and "PCL: Proposal Cluster Learning for Weakly Supervised Object Detection".
MIT License
253 stars 48 forks source link

AttributeError: 'Generalized_RCNN' object has no attribute 'detectron_weight_mapping' #84

Open zhenwenYANG opened 2 years ago

zhenwenYANG commented 2 years ago

This problem occurs when I reappear, how to solve it?

Galaxy2233 commented 2 years ago

Have you solve this problem? I find it occurs too

zhenwenYANG commented 2 years ago

No, I added the attention module before and then this error occurred. Later, after deleting the added part, it returned to normal

------------------ 原始邮件 ------------------ 发件人: "ppengtang/pcl.pytorch" @.>; 发送时间: 2022年10月20日(星期四) 晚上9:03 @.>; @.**@.>; 主题: Re: [ppengtang/pcl.pytorch] AttributeError: 'Generalized_RCNN' object has no attribute 'detectron_weight_mapping' (Issue #84)

Have you solve this problem? I find it occurs too

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Galaxy2233 commented 2 years ago

真是一个悲伤的故事

bityangke commented 2 years ago

you need to add weight mapping for newly added modules