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

AttributeError: 'MaskRCNN' object has no attribute 'prop_head' #4

Closed
Allamrahul opened this issue Mar 30, 2022 · 2 comments
Closed

Comments

@Allamrahul
Copy link

Hi,

I am using the masktrackrcnn pretrained .pth file and masktrack_rcnn_r50_fpn_1x_youtubevos.py file. I am able to train the model but inference is failing due to the above reason. I see that prop_head is indeed an attribute but I am unsure why its complaining.

@anirudh-chakravarthy
Copy link
Owner

Hi,

I am not sure why this is happening. Can you share the error trace so I can have a look?

@Allamrahul
Copy link
Author

We tried to use the masktrack_rcnn_r50_fpn_1x_youtubevos.py config to run just the masktrackrcnn. We tried to setup the base repository for masktrackrcnn repository (https://github.com/youtubevos/MaskTrackRCNN.git) but we keep facing issues since the torch version being used in that repository is pretty old. Hence, we tried to setup just masktrackrcnn, without the propagation head and thats when we faced that issue.

I am closing this because we have been able to build the masktrackrcnn repo separately. Hence, we are not longer pursuing this avenue. Hence, closing this issue.

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