DECA icon indicating copy to clipboard operation
DECA copied to clipboard

Steps for setting up the environment in new GPU like 4090

Open epratheeban opened this issue 1 year ago • 4 comments

PS: This is not an issue. Adding it here as the fellow community dont need spend too much time in setting up the env

Anaconda || Ubuntu 22.04 || Python 3.8 || CUDA 12.1 || Pytorch 2.1.2 || Pytorch3D '0.7.6'

  1. Make sure your system have cuda version is 12.1
  2. Install anaconda

for some reasons installing g++ 7 in ubunutu 22.04 is not supported due to compatability issues . So I used Pytorch3d

then follow these

Please follow the below steps

conda create -n deca python=3.8
conda activate deca
pip install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cu121
git clone https://github.com/facebookresearch/pytorch3d.git
cd pytorch3d && pip install -e .
rm -rf build/ **/*.so
pip install -e .
cd ..
pip install numpy==1.23
pip install scipy>=1.4.1
pip install scikit-image>=0.15
pip install opencv-python>=4.1.1
pip install PyYAML==5.1.1
pip install face-alignment==1.3.4
pip install yacs==0.1.8
pip install ninja
pip install fvcore
pip install chumpy>=0.69 

epratheeban avatar Feb 23 '24 15:02 epratheeban

it is useful,thanks for sharing!

mwb3262716541 avatar Nov 14 '24 12:11 mwb3262716541

very useful,thanks!!!

JiangThea avatar Nov 25 '24 09:11 JiangThea

best, thank you

2351548518 avatar Dec 03 '24 13:12 2351548518

Thanks a lot

Darsha-1 avatar Feb 21 '25 22:02 Darsha-1