alibaba / EasyCV

An all-in-one toolkit for computer vision
Apache License 2.0
1.79k stars 203 forks source link

BUG:'MSDA' is not defined #305

Closed Alibaba-HZY closed 1 year ago

Alibaba-HZY commented 1 year ago

when i do this gallery (https://pai.console.aliyun.com/?regionId=cn-shanghai&workspaceId=305319#/dsw-gallery-workspace/preview/deepLearning/cv/easycv_detection3d_bevformer) executing this code `predictor = BEVFormerPredictor( model_path='../work_dirs/detection3d/bevformer/epoch_1.pth', config_file='../bevformer_base_r101_dcn_nuscenes.py', )

inputs = mmcv.load('nuscenes_infos_temporal_val.pkl')['infos'][:1]` it will be report an error : image

I tried to use version 0.9 or recompile ( python setup.py build install) but the problem was still stored

Cathy0908 commented 1 year ago

MSDA will auto compile when running, maybe compile failed, you can refer to the following script to try to compile manually.

https://github.com/alibaba/EasyCV/blob/master/easycv/thirdparty/deformable_attention/functions/ms_deform_attn_func.py#L20

Alibaba-HZY commented 1 year ago

thank you I forgot to restart kernel