You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your reply! The error still persists and I found out by analyzing the traceback
File "/mnt/data/linan/FPD/fpd/fpd_detector.py", line 102, in extract_support_feat
feats = self.backbone(img, use_meta_conv=True)
I try to delete the use_meta_conv parameter and then get the error as below:
I found FPD's Backbone uses use_meta_conv variable, which jumps to the ResNet class in mmdet/models/backbones/resnet.py when I run the train.py. By looking at the forward method of this class, I found that it does not support the use_meta_conv=True parameter, so the above error was generated.
By analyzing the network structure of the FPD, it is found that the backbone should refer mmfewshot/detection/models/resnet_with_meta_conv.py instead of resnet.py that not supporting use_meta_conv parameter.
In the end, I was able to run successfully by replacing the forward fuction in resnet.py of mmdet with the forward function in resnet_with_meta_conv.py of mmfewshot that supports use_meta_conv parameters.
Although the code has been successfully run now, the problem has not been completely resolved, and I am looking forward to working with you to solve the problem!
Thanks for your great work!
I wanna run your code to train a base model, However, I met some errors as below:
And here is my environment:
![env](https://private-user-images.githubusercontent.com/56286935/349903079-2b82aa88-01c3-459b-88da-6c35340b710d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODU0MDgsIm5iZiI6MTczOTE4NTEwOCwicGF0aCI6Ii81NjI4NjkzNS8zNDk5MDMwNzktMmI4MmFhODgtMDFjMy00NTliLTg4ZGEtNmMzNTM0MGI3MTBkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDEwNTgyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY4MDYzZmE1NGNhZGYzY2U0MDUwNzY2OGVkMzUxZDMxNDlmMmQ2N2VmZTRkYjY4MWU0MDA0NDA3YTIwYmMxZGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.NQTUWgDz55tAwTtjSpkzGfzAeoKAIrBAmN5Pojm5piw)
The text was updated successfully, but these errors were encountered: