Traceback (most recent call last):


 "projects/SparseR-CNN/train_net.py", line 22, in <module>

from detectron2.data import MetadataCatalog, build_detection_train_loader


 "/home/amax/ngrok/opencv/SparseR-CNN/detectron2/data/__init__.py", line 4, in <module>

from .build import (


 "/home/amax/ngrok/opencv/SparseR-CNN/detectron2/data/build.py", line 12, in <module>

from detectron2.structures import BoxMode


 "/home/amax/ngrok/opencv/SparseR-CNN/detectron2/structures/__init__.py", line 7, in <module>

from .masks import BitMasks, PolygonMasks, rasterize_polygons_within_box, polygons_to_bitmask


 "/home/amax/ngrok/opencv/SparseR-CNN/detectron2/structures/masks.py", line 9, in <module>

from detectron2.layers.roi_align import ROIAlign


 "/home/amax/ngrok/opencv/SparseR-CNN/detectron2/layers/__init__.py", line 3, in <module>

from .deform_conv import DeformConv, ModulatedDeformConv


 "/home/amax/ngrok/opencv/SparseR-CNN/detectron2/layers/deform_conv.py", line 11, in <module>

from detectron2 import _C
ImportError: /home/amax/ngrok/opencv/SparseR-CNN/detectron2/_C.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe28TypeMeta21_typeMetaDataInstanceISt7complexIdEEEPKNS_6detail12TypeMetaDataEv

Traceback (most recent call last):


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>

from tensorflow.python.pywrap_tensorflow_internal import *


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>

_pywrap_tensorflow_internal = swig_import_helper()


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper

_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)


 "/usr/lib/python3.5/imp.py", line 242, in load_module

return load_dynamic(name, filename, file)


 "/usr/lib/python3.5/imp.py", line 342, in load_dynamic

return _load(spec)
ImportError: libcuda.so.1: cannot open shared object file: No such file or directory
