FuxiCV / MeInGame

MeInGame: Create a Game Character Face from a Single Portrait, AAAI 2021
MIT License
653 stars 119 forks source link

libtorch_cpu.so: cannot open shared object file: No such file or directory #4

Open AlexBlack2202 opened 3 years ago

AlexBlack2202 commented 3 years ago

how can i fix this problem. I use cpu

command i use:

python main.py -m test -i demo -c

Error detail

from .graph_conv import GraphConv

File "/home/hd/anaconda3/envs/deep3d/lib/python3.6/site-packages/pytorch3d/ops/graph_conv.py", line 6, in from pytorch3d import _C ImportError: libtorch_cpu.so: cannot open shared object file: No such file or directory

Enviroment info

Collecting environment information... PyTorch version: 1.4.0 Is debug build: No CUDA used to build PyTorch: 10.1

OS: Ubuntu 18.04.4 LTS GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 CMake version: version 3.10.2

Python version: 3.6 Is CUDA available: No CUDA runtime version: No CUDA GPU models and configuration: No CUDA Nvidia driver version: No CUDA cuDNN version: No CUDA

Versions of relevant libraries: [pip3] numpy==1.19.5 [pip3] pytorch3d==0.2.0 [pip3] torch==1.4.0 [pip3] torchvision==0.5.0 [conda] Could not collect

ZhuoranLyu commented 3 years ago

reinstall pytorch3d works

AlexBlack2202 commented 3 years ago

reinstall pytorch3d works

i have call this command successfull :

pip3 install "git+https://github.com/Agent-INF/pytorch3d.git@3dface"

But it can't solve my errror

ZhuoranLyu commented 3 years ago

reinstall pytorch3d works

i have call this command successfull :

pip3 install "git+https://github.com/Agent-INF/pytorch3d.git@3dface"

But it can't solve my errror

pip uninstall that package firstly and then install that again

Kenny-Li2023 commented 3 years ago

reinstall pytorch3d works

i have call this command successfull :

pip3 install "git+https://github.com/Agent-INF/pytorch3d.git@3dface"

But it can't solve my errror Has your problem been solved? How to solve it?

Kenny-Li2023 commented 3 years ago

reinstall pytorch3d works

i have call this command successfull : pip3 install "git+https://github.com/Agent-INF/pytorch3d.git@3dface" But it can't solve my errror

pip uninstall that package firstly and then install that again

The problem is still not solved after uninstalling