NextFace icon indicating copy to clipboard operation
NextFace copied to clipboard

Aborted in 2080Ti

Open XYWang-coder opened this issue 2 years ago • 5 comments

Hello, I have this problem when i run the code, and I want to ask for your help.

detecting landmarks... init camera pose... 1/3 => Optimizing head pose and expressions using landmarks... 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2000/2000 [00:41<00:00, 47.85it/s] 2/3 => Optimizing shape, statistical albedos, expression, head pose and scene light... 0%| | 0/401 [00:00<?, ? 0%|▎ | 1/401 [00:29<3:16:12, terminate called after throwing an instance of 'thrust::system::system_error' what(): device free failed: an illegal memory access was encountered run.sh: line 4: 14367 Aborted (core dumped) python optimizer.py --sharedIdentity --input /image

I run the code with GeForce RTX 2080 Ti GPU, and python==3.6.7, torch==1.9.1, cuda toolkit==10.2. Thanks a lot.

XYWang-coder avatar May 19 '22 11:05 XYWang-coder

Hi and sorry for my late response, I never tried with cuda toolkit 10.2 and pytorch 1.9.1

Can u please try to intstall pytorch 1.3.1 and cuda toolkit 10.1 ? (follow instructions in INSTALL file) this will create a conda environment called nextFace ready to use for u.

Hope this help.

abdallahdib avatar May 27 '22 17:05 abdallahdib

@XYWang-coder maybe have a try on gpu version redner is useful. pip install redner-gpu

Hello,

I have this problem when i run the code, and I want to ask for your help.

detecting landmarks...

init camera pose... 1/3 => Optimizing head pose and expressions using landmarks... 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2000/2000 [00:41<00:00, 47.85it/s] 2/3 => Optimizing shape, statistical albedos, expression, head pose and scene light... 0%| | 0/401 [00:00<?, ? 0%|▎ | 1/401 [00:29<3:16:12, terminate called after throwing an instance of 'thrust::system::system_error' what(): device free failed: an illegal memory access was encountered run.sh: line 4: 14367 Aborted (core dumped) python optimizer.py --sharedIdentity --input /image I run the code with GeForce RTX 2080 Ti GPU, and python==3.6.7, torch==1.9.1, cuda toolkit==10.2. Thanks a lot.

huhai463127310 avatar Jul 08 '22 10:07 huhai463127310

can u plz follow the instructions in INSTALL file ?

abdallahdib avatar Jul 19 '22 12:07 abdallahdib

Just a note install file directions no longer work... this does not load conda install -c 1adrianb face_alignment=1.2.0

yosun avatar Jun 16 '23 06:06 yosun

I think redner is actually not compatible with NVIDIA...

yosun avatar Jun 19 '23 09:06 yosun