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

Error During Training:AttributeError: 'SSODROIHeads' object has no attribute 'get_preds_for_pseudo_labels' #5

Open
ysysys666 opened this issue Nov 3, 2024 · 2 comments

Comments

@ysysys666
Copy link

Thank you for your excellent work!
When I tried to reproduce your experiment, I found an "AttributeError: 'SSODROIHeads' object has no attribute 'get_preds_for_pseudo_labels' ", The error location is at line 76 in custom_rcnn.py. preds_on_gt = self.roi_heads.get_preds_for_pseudo_labels(weak_features, [x.t_boxes for x in gt_instances]), I would like to ask you about it.

@wkfdb
Copy link
Owner

wkfdb commented Nov 4, 2024

i checked the code but without running, the function in line 76 in custom_rcnn.py has been changed to get_preds_from_weak_features. It should work. Pls tell me if new error occurs, I will find time to check it by running.

@ysysys666
Copy link
Author

Thank you very much! And I still want to consult why "RuntimeError: DataLoader worker (pid 41346) is killed by signal: Aborted." occurs after training?

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