hsingyu-chou
hsingyu-chou
I found this solution from other website. It works but I don't know why. You could try this. 1. mmdet3d/ops/feature_decorator/feature_decorator.py : Change “from mmdet3d.ops.feature_decorator import feature_decorator_ext” to “from . import...
Try this. 1. \bevfusion\mmdet3d\ops\ball_query\src\ball_query.cpp 2. \bevfusion\mmdet3d\ops\knn\src\knn.cpp 3. \bevfusion\mmdet3d\ops\group_points\src\group_points.cpp 4. \bevfusion\mmdet3d\ops\interpolate\src\interpolate.cpp 5. \bevfusion\mmdet3d\ops\furthest_point_sample\src\furthest_point_sample.cpp 6. \bevfusion\mmdet3d\ops\gather_points\src\gather_points.cpp #include extern THCState *state; cudaStream_t stream = THCState_getCurrentStream(state); Replace with → #include #include cudaStream_t stream =...
Try this. /bevfusion/mmdet3d/models/backbones/radar_encoder.py : from flash_attn.flash_attention import FlashMHA → from flash_attn.modules.mha import MHA I think this error is caused by the difference between the version 1.0.9 and 2.0.0 of flash-attention.