kwea123/CasMVSNet_pl

ImportError when run eval.py

YuhsiHu opened this issue · 1 comments

Hi, I use RTX3090 and python==3.8.10, pytorch==1.7.1, cudatoolkit==11.0.3, cudnn==8.0.5, pytorch-lightning==0.7.5 and others meet the requirements.txt. But I encountered this error:

File "eval.py", line 11, in
from models.mvsnet import CascadeMVSNet
File "/models/mvsnet.py", line 4, in
from .modules import *
File "/models/modules.py", line 4, in
from inplace_abn import InPlaceABN
File "/anaconda3/envs/cascade/lib/python3.8/site-packages/inplace_abn/init.py", line 1, in
from .abn import ABN, InPlaceABN, InPlaceABNSync
File "/anaconda3/envs/cascade/lib/python3.8/site-packages/inplace_abn/abn.py", line 8, in
from .functions import inplace_abn, inplace_abn_sync
File "/anaconda3/envs/cascade/lib/python3.8/site-packages/inplace_abn/functions.py", line 8, in
from . import _backend
ImportError: /anaconda3/envs/cascade/lib/python3.8/site-packages/inplace_abn/_backend.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN2at11leaky_relu_ERNS_6TensorERKN3c106ScalarE

What should I do to run this test on DTU dataset?
Thank you for your time.

The problem is from python3.8. Please use 3.7 or 3.6. I will update readme.