Closed MichaelD7911 closed 2 weeks ago
Normally, it can be solved by running python setup.py install
.
If it still not working, please try to reinstall the environment according to the readme step by step.
Thank you @zcablii, I've tried python setup.py install
it didn't help.
Before that, I've installed step by step following readme file.
The train
and test
procedure are working without errors.
You may also need to import msfa like:
import msfa
from mmdet.apis import DetInferencer
config_file = 'local_configs/SARDet/r50_IN_sup/fg_frcnn_IN_sup_sar_r50.py'
checkpoint_file = 'work_dirs/fg_frcnn_IN_sup_sar_r50/best_coco_bbox_mAP_epoch_12.pth'
inferencer = DetInferencer(model=config_file, weights=checkpoint_file)
Yes, import msfa
solves it.
Thank you!
I was trying to run an inference and got an error:
Code:
Error:
What is a fix for this or it is more related to MMDetection framework ?