HorizonRobotics / Sparse4D

MIT License
326 stars 31 forks source link

AssertionError: Sparse4D: Sparse4DHead: DeformableFeatureAggregation: deformable_aggregation needs to be set up. #52

Closed flora077 closed 5 months ago

flora077 commented 5 months ago

I encountered the following error. image

I strictly followed your quick_start.md, but an error occurred during training:: AssertionError: Sparse4D: Sparse4DHead: DeformableFeatureAggregation: deformable_aggregation needs to be set up.

flora077 commented 5 months ago

我在配置文件中看到了 image 但是我确实已经执行了mmdet3d_plugin/ops/setup.py

linxuewu commented 5 months ago

应该是没编译好。明确下面两点:mmdet3d_plugin/ops里面有编译好的so文件了吗?直接import 能成功么?

flora077 commented 5 months ago

1、在ops中有编译好的so文件 2、在终端中输入import deformable_aggregation_function as DAF,会报错:No module named 'deformable_aggregation_function' 所以我在想是不是应该设置什么路径?但是我不知道应该如何设置...

flora077 commented 5 months ago

image

flora077 commented 5 months ago

好吧,我把ops文件夹中的内容全部删除,替换成新的后再编译,问题就消失了

feimadada commented 5 months ago

你好,请问你最后说的这个把ops文件夹中的内容全部删除,替换成新的,是替换成哪里的?