#μ£Όμ
WSLμμ conda λͺ¨λΈ λ리기
| λͺ©μ°¨ | μ€λͺ | λ§ν¬ |
|---|---|---|
| νκ²½ | Window 11, WSL 2.0 | λ°λ‘κ°κΈ° |
| μ½λ | WHAM Installation μ½λ | λ°λ‘κ°κΈ° |
| ꡬν μ½λ | WHAM Installation μ½λ | λ°λ‘κ°κΈ° |
#νκ²½
- Window 11
- WSL 2.0
#μ½λ
μλ³Έ Installation μ½λλ μλμ κ°λ€.
github
λ§ν¬
#ꡬν μ½λ
# Clone the repo
git clone https://github.com/yohanshin/WHAM.git --recursive
cd WHAM/
# Create Conda environment
conda create -n wham python=3.9
conda activate wham
# Install PyTorch libraries
conda install pytorch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 cudatoolkit=11.3 -c pytorch
# Install PyTorch3D (optional) for visualization
conda install -c fvcore -c iopath -c conda-forge fvcore iopath
pip install pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py39_cu113_pyt1110/download.html
# Install WHAM dependencies
pip install -r requirements.txt
# Install ViTPose
pip install -v -e third-party/ViTPose
# Install DPVO
cd third-party/DPVO
wget https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip
unzip eigen-3.4.0.zip -d thirdparty && rm -rf eigen-3.4.0.zip
conda install pytorch-scatter=2.0.9 -c rusty1s
conda install cudatoolkit-dev=11.3.1 -c conda-forge
# κ·Έλ₯ λΆμ¬λ£κΈ° νμλ©΄ λ©λλ€.
# ONLY IF your GCC version is larger than 10
conda install -c conda-forge gxx=9.5
pip install .
# μκΈ΄ μ€λ₯ : undefined symbol: iJIT_NotifyEvent
# ν΄κ²° μ½λ (μμΈ : mkl λ²μ λ¬Έμ )
conda install mkl==2024.0
pip install .
# Download demo data
# μ¬κΈ° λ€μ΄λ‘λ λ°κΈ° μ μ λ°μ SMPL, SMPLifyμ νμκ°μ
ν΄μΌνλ€.
# μ€κ°μ μμ΄λ λΉλ² μΉλ κ²μ΄ μμ (λ±λ‘ μνκ³ νλ©΄ λͺ¨λΈ λ€μ΄λ‘λ μλ¨..)
bash fetch_demo_data.sh
#λ리λ€κ° κ·Έλ§ λμλ€.
- μλνλ©΄, λͺ¨λΈμ΄ λ무 무거μμ, 8GB GPUμμλ μΆλ‘ μ‘°μ°¨ μλμλ€.
- Github Issue λ€μ΄κ°λ³΄λ©΄ μ μ μλ€.