-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Facing error while trying to run inference #14
Comments
Was the build successful? undefined symbol: _ZN6caffe219CPUOperatorRegistryB5cxx11Ev could mean there is something wrong with the Caffe build or some of its dependency builds. Undefined errors from shared objects (.so) usually mean the linking process was not completely done. |
Hello rahul, @trrahul thank you so much for responding `python2 DensePose/detectron/tests/test_zero_even_op.py Ran 12 tests in 1.687s OK
where demo_im2.jpg is image of size 2.3KB and of height and width -10pxls now i got the same RuntimeError output: `Found Detectron ops lib: /home/sriram/anaconda2/lib/libcaffe2_detectron_ops_gpu.so WARNING cnn.py: 25: [====DEPRECATE WARNING====]: you are creating an object from CNNModelHelper class which will be deprecated soon. Please use ModelHelper object with brew module. For more information, please refer to caffe2.ai and python/brew.py, python/brew_test.py for more information. Error from operator: frame #1: + 0x29581fc (0x7f04984451fc in /home/sriram/anaconda2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libcaffe2_gpu.so) Seriously this is a real pain in the ass, i have been trying to execute this for last 7days |
I really recommend you use paperspace or any other service to run your tests if you do not have enough GPU memory. 2 GB is not enough.
|
Hello
I am facing OS Error issue
Traceback (most recent call last): File "DensePose/detectron/tests/test_zero_even_op.py", line 117, in c2_utils.import_custom_ops() File "/home/sriram/DensePose/detectron/utils/c2.py", line 40, in import_custom_ops dyndep.InitOpsLibrary(custom_ops_lib) File "/home/sriram/anaconda2/lib/python2.7/site-packages/caffe2/python/dyndep.py", line 35, in InitOpsLibrary _init_impl(name) File "/home/sriram/anaconda2/lib/python2.7/site-packages/caffe2/python/dyndep.py", line 48, in _init_impl ctypes.CDLL(path) File "/home/sriram/anaconda2/lib/python2.7/ctypes/init.py", line 366, in init self._handle = _dlopen(self._name, mode) OSError: /home/sriram/DensePose/build/libcaffe2_detectron_custom_ops_gpu.so: undefined symbol: _ZN6caffe219CPUOperatorRegistryB5cxx11Ev
Tried to install gcc-4.9.2 and ended up facing error for so may possible times, also when i ran using colab, there they just installed gcc-4.9.1 but default gcc is 7.5.0
so i just skipped test_zero_even_op.py and tried to run in infer mode , even there i faced some errors like
RuntimeError: [enforce fail at context_gpu.cu:415] error == cudaSuccess. 2 vs 0. Error at: /opt/conda/conda-bld/pytorch_1549617926868/work/caffe2/core/context_gpu.cu:415: out of memory
please check this thread [https://github.com/facebookresearch/DensePose/issues/269]
i was trying from the last 7days , it is really painful
please help me out.
The text was updated successfully, but these errors were encountered: