This is a simple implementation of 3D virtual try-on that tailors garments to different human body shapes and addresses garment-body penetration issues.
conda create -n vto_3d python=3.8
conda activate vto_3d
# Install pytorch
pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113
# Install pytorch3d
pip install fvcore iopath
pip install --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py38_cu113_pyt1110/download.html
# Install other dependencies
pip install -r requirements.txt
Install mesh processing libraries from MPI-IS/mesh .
python main.py --body ./data/body/female_hres_0_0.obj --garment ./data/garment/garment_test.obj
See LICENSE
for more information.
This work is based on the following open-source project of vto-learning-based-animation. Thanks for their excellent code!