Open StKnow opened 1 week ago
I have the same problem with you. Have you solved it now?
I have the same problem with you. Have you solved it now?
I'm still looking for a solution.
I have the same problem with you. Have you solved it now?
I'm still looking for a solution.
I have solved the problem with this method:
step1. install pytorch 2.1.0 step2. install pytorch3d like this:
git clone https://github.com/facebookresearch/pytorch3d.git
cd pytorch3d && pip install -e .
After step2 I find that there is a 'lib.linux-x86_64-cpython-310' folder in pytorch3d/build/, which can be used correctly.
After I installed the dependencies according to the README, I tried to execute the demo
python scripts/inference/rec.py --model_type nphm --exp_name pretrained_mononphm --ckpt 2500 --seq_name FFHQ_ID --no-intrinsics_provided --downsample_factor 0.33 --no-is_video
The following error occursImportError: /mononphm/lib/python3.9/site-packages/pytorch3d/_C.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZN3c106detail23torchInternalAssertFailEPKcS2_jS2_RKSs
This seems to be a pytorch3d compatibility issue. When I look at the documentation for pytorch3d, I see that it requires a version of pytorch greater than 2.1.0. However the version of pytorch installed for this project is 2.0.1.conda install pytorch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 pytorch-cuda=11.7 -c pytorch -c nvidia
I tried to install pytorch 2.1.0.conda install pytorch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 pytorch-cuda=11.8 -c pytorch -c nvidia
There are other problems when executing the code. I would be grateful for a good solution.