ECON / docs /installation-windows.md
Yuliang's picture
clean unnecessary libs
0718695
|
raw
history blame
3.6 kB

Windows installation tutorial

Another issue#16 shows the whole process to deploy ECON on Windows

Dependencies and Installation

  • Use Anaconda
  • NVIDIA GPU + CUDA
  • Wget for Windows
  • Create a new folder on your C drive and rename it "wget" and move the downloaded "wget.exe" over there.
  • Add the path to your wget folder to your system environment variables at Environment Variables > System Variables Path > Edit environment variable

image

image

Getting started

Start by cloning the repo:

git clone https://github.com/yuliangxiu/ECON.git
cd ECON

Environment

# install required packages
cd ECON
conda env create -f environment-windows.yaml
conda activate econ

# install pytorch and cupy
pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113
pip install -r requirements.txt
pip install cupy-cuda11x
pip install git+https://github.com/facebookresearch/pytorch3d.git@v0.7.1

# install libmesh & libvoxelize
cd lib/common/libmesh
python setup.py build_ext --inplace
cd ../libvoxelize
python setup.py build_ext --inplace

Register at ICON's website

Register Required:

  • SMPL: SMPL Model (Male, Female)
  • SMPL-X: SMPL-X Model, used for training
  • SMPLIFY: SMPL Model (Neutral)
  • PIXIE: PIXIE SMPL-X estimator

:warning: Click Register now on all dependencies, then you can download them all with ONE account.

Downloading required models and extra data (make sure to install git and wget for windows for this to work)

cd ECON
bash fetch_data.sh # requires username and password

Citation

:+1: Please consider citing these awesome HPS approaches: PyMAF-X, PIXIE

@article{pymafx2022,
  title={PyMAF-X: Towards Well-aligned Full-body Model Regression from Monocular Images},
  author={Zhang, Hongwen and Tian, Yating and Zhang, Yuxiang and Li, Mengcheng and An, Liang and Sun, Zhenan and Liu, Yebin},
  journal={arXiv preprint arXiv:2207.06400},
  year={2022}
}


@inproceedings{PIXIE:2021,
  title={Collaborative Regression of Expressive Bodies using Moderation},
  author={Yao Feng and Vasileios Choutas and Timo Bolkart and Dimitrios Tzionas and Michael J. Black},
  booktitle={International Conference on 3D Vision (3DV)},
  year={2021}
}