Remote-Sensing-RVSA icon indicating copy to clipboard operation
Remote-Sensing-RVSA copied to clipboard

KeyError: 'OrientedRCNN is not in the models registry'

Open AbhaSinghPathania opened this issue 2 years ago • 3 comments

image

I have run the inference command using the following command: python image_demo.py demo/demo.jpg
configs/obb/oriented_rcnn/vit_base_win/faster_rcnn_orpn_our_rsp_vitae-nc-base-win-rvsa_v3_wsz7_fpn_1x_dota10_ms_lr1e-4 _ldr75_dpr15.py
checkpoints/vitae_rvsa_new.pth
--device cpu

Its using image_demo.py file from OBBDetection. I am using MMCV version 1.6.2 and python version 3.9. How to reslove this error?

AbhaSinghPathania avatar Aug 10 '23 12:08 AbhaSinghPathania

@AbhaSinghPathania Do you install the OBBdetection?

DotWang avatar Aug 11 '23 09:08 DotWang

Yes. But it is not being used here in this code. For inference code for detection CLI provided in the repo where do we have to specify the path of images for inference. Is there something I am missing. I want to use RVSA on one of DOTA like image and want to run the inference code for the same. Can someone please specify how to run the inference for detection.

AbhaSinghPathania avatar Sep 07 '23 13:09 AbhaSinghPathania

hey guys,do you solve this problem?I have the same problem

Justth1 avatar Nov 16 '23 07:11 Justth1