LinZhuoChen / SGNet

[TIP 2021] Spatial information guided Convolution for Real-Time RGBD Semantic Segmentation
46 stars 5 forks source link

运行时显示找不到'graphs.ops._ext' #3

Open baixiaobaigithub opened 1 year ago

baixiaobaigithub commented 1 year ago

hello,为什么运行“python main.py ./configs/sgnet_nyud_test.json”时显示ModuleNotFoundError: No module named 'graphs.ops._ext'的运行错误

LinZhuoChen commented 1 year ago

这个应该是编译的问题,没有编译deformable 卷积,可以尝试以下命令:

compile InPlace-ABN

cd graphs/ops/libs sh build.sh python build.py

compile S-Conv

cd .. sh make.sh

因为这个工作是三年前做的 所以目前最高只能在2080ti上 CUDA9.2 上运行。