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

PseCo_FRCNN: 'Shared2FCBBoxHead' object has no attribute 'use_sigmoid' #4

Closed
ljq2000 opened this issue Aug 18, 2022 · 2 comments
Closed

Comments

@ljq2000
Copy link

ljq2000 commented Aug 18, 2022

No description provided.

@ljq2000
Copy link
Author

ljq2000 commented Aug 18, 2022

Traceback (most recent call last):
File "/root/anaconda3/envs/pseco/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg
return obj_cls(**args)
File "/root/PseCo/ssod/models/PseCo_frcnn.py", line 59, in init
if self.student.roi_head.bbox_head.use_sigmoid:
File "/root/anaconda3/envs/pseco/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'Shared2FCBBoxHead' object has no attribute 'use_sigmoid'Traceback (most recent call last):

@ligang-cs
Copy link
Owner

Which version of mmdetection do you use? The attribute "use sigmoid" is suppressed in latest mmdetection, which may account for this error. A suitable mmdetection is already placed in PseCo/thirdparty/mmdetection. Please use it as the default mmdetection for right reproduction.

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