Traceback (most recent call last):
File "inference.py", line 24, in
from atlas.model import VoxelNet
File "/root/Atlas/atlas/model.py", line 29, in
from atlas.backbone2d import build_backbone2d
File "/root/Atlas/atlas/backbone2d.py", line 8, in
from detectron2.layers import Conv2d, get_norm
File "/usr/local/lib/python3.7/dist-packages/detectron2/layers/init.py", line 3, in
from .deform_conv import DeformConv, ModulatedDeformConv
File "/usr/local/lib/python3.7/dist-packages/detectron2/layers/deform_conv.py", line 11, in
from detectron2 import _C
ImportError: /usr/local/lib/python3.7/dist-packages/detectron2/_C.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZNK2at6Tensor7is_cudaEv
❓ Questions and Help
run inference
!python inference.py --model results/release/semseg/final.ckpt --scenes data/sample/sample1/info.json --voxel_dim 208 208 80
this is the code in google colab and the error is
Traceback (most recent call last): File "inference.py", line 24, in
from atlas.model import VoxelNet
File "/root/Atlas/atlas/model.py", line 29, in
from atlas.backbone2d import build_backbone2d
File "/root/Atlas/atlas/backbone2d.py", line 8, in
from detectron2.layers import Conv2d, get_norm
File "/usr/local/lib/python3.7/dist-packages/detectron2/layers/init.py", line 3, in
from .deform_conv import DeformConv, ModulatedDeformConv
File "/usr/local/lib/python3.7/dist-packages/detectron2/layers/deform_conv.py", line 11, in
from detectron2 import _C
ImportError: /usr/local/lib/python3.7/dist-packages/detectron2/_C.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZNK2at6Tensor7is_cudaEv