-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
TypeError: FastRCNN: AVARoIHead: LFBInferHead: __init__() got an unexpected keyword argument 'pretrained' #1382
Comments
Similarly caused by https://github.com/open-mmlab/mmdetection/blob/master/mmdet/models/roi_heads/base_roi_head.py#L26, you can try to add |
Thanks It seems that class already contains Instead, I added |
I have created a pull request for this: #1386 |
* Added argument to LFBInferHead:__init__() * Fixed bug in assert statement printout * Finalised proper formatting * Fixed another related issue with pretrained
Description
I am trying to run Spatio-Temporal Action Localisation on a small sample of the AVA dataset (to get me started with the library), but am running into an issue with the LFB model. Specifically, the generation of the LFB features yields the following Exception:
"TypeError: FastRCNN: AVARoIHead: LFBInferHead: init() got an unexpected keyword argument 'pretrained'"
Reproduction
Installation
I installed MMCV, MMDet and MMAction2 from source and also from pip at different points to debug the error (each time tearing down the conda environment), but the issue remains.
This gives me the following envrionment:
Setup (Code/DataSet)
Stack Trace:
The text was updated successfully, but these errors were encountered: