zcablii / SARDet_100K

Offical implementation of MSFA and release of SARDet_100K dataset for Large-Scale Synthetic Aperture Radar (SAR) Object Detection
Other
328 stars 25 forks source link

KeyError: 'Self_features_model is not in the mmdet::model registry #4

Closed ertenggang closed 5 months ago

ertenggang commented 5 months ago

I have installed the msfa-3.1.0 and downloaded some checkpoints, and I tried to do inference with these models. I got the error when I loaded the checkpoint. error message: KeyError: 'Self_features_model is not in the mmdet::model registry. Please check whether the value of Self_features_model is correct or it was registered as expected. More details can be found at https://mmengine.readthedocs.io/en/latest/advanced_tutorials/config.html#import-the-custom-module'

zcablii commented 5 months ago

Apologies for the oversight; that was legacy code we overlooked updating. We've now made a commit to replace 'Self_features_model' with 'MSFA' in the configuration files.