NVIDIA / flownet2-pytorch

Pytorch implementation of FlowNet 2.0: Evolution of Optical Flow Estimation with Deep Networks
Other
3.12k stars 739 forks source link

ImportError: undefined symbol (not yet documented occurrence) #193

Open jakubLangr opened 4 years ago

jakubLangr commented 4 years ago

As per a number of issues scattered around the English (and Chinese) web, I have managed to successfully install the required packages into the correct virtual env and I imported pytorch first, but nothing seems to have helped.

I even fresh reinstalled everyrhing. No bueno.

$ python
Python 3.6.5 |Anaconda, Inc.| (default, Apr 29 2018, 16:14:56)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.__file__
'/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/torch/__init__.py'
>>> import resample2d_cuda
ImportError: /home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/resample2d_cuda-0.0.0-py3.6-linux-x86_64.egg/resample2d_cuda.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN3c104impl28tls_excluded_tensor_type_setEv

Any advice?