YuliangXiu / ECON

[CVPR'23, Highlight] ECON: Explicit Clothed humans Optimized via Normal integration
https://xiuyuliang.cn/econ
Other
1.08k stars 106 forks source link

about pytorch3d 0.7.1 #59

Open datachiii opened 1 year ago

datachiii commented 1 year ago

the version of pytorch3d in requirement is 0.7.1 but that version only supports pytorch 1.12.1 not support pytorch 1.13.0 I am not sure that is the reason that causes local installation failed and i use conda install pytorch3d 0.7.4 but the result is not good as yours 擷取 ur result looks so fit and smooth is that the pytorch3d problem or I need to do some post-process? how i got my result same as yours I don't want my results to have a colored back with a picture on the front and a gray interface

YuliangXiu commented 1 year ago
>>> pytorch3d.__version__
'0.7.1'
>>> torch.__version__
'1.13.1+cu116'

ECON works well on pytorch3d-0.7.1 and torch-1.13.1 at my local machine, if you don't want the texture, just re-export the mesh w/o any per-vertex colors.

yuedajiong commented 1 year ago

it looks that pytorch3d-0.7.1 is NOT supported to: python-3.8 + torcch-1.13.1. I used pytorch3d-0.7.2, it is OK for me.

step by step:

wget https://github.com/YuliangXiu/ECON/archive/refs/heads/master.zip -O ECON-master.zip unzip ECON-master.zip mv ECON-master mesh-econ

cd mesh-econ

register: https://icon.is.tue.mpg.de/ bash fetch_data.sh #must same account for all

conda env create -f environment.yaml --name myecon conda activate myecon pip install -r requirements.txt python -c "import torch; print(torch.version, torch.version.cuda)"

pip install --no-index --no-cache-dir pytorch3d==0.7.2 -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py38_cu116_pyt1130/download.html python -c "import pytorch3d; print(pytorch3d.version)"

cd ./lib/common/libmesh; python setup.py build_ext --inplace; cd ../../.. cd ./lib/common/libvoxelize; python setup.py build_ext --inplace; cd ../../..

dpredie commented 11 months ago

it looks that pytorch3d-0.7.1 is NOT supported to: python-3.8 + torcch-1.13.1. I used pytorch3d-0.7.2, it is OK for me.

step by step:

wget https://github.com/YuliangXiu/ECON/archive/refs/heads/master.zip -O ECON-master.zip unzip ECON-master.zip mv ECON-master mesh-econ

cd mesh-econ

register: https://icon.is.tue.mpg.de/ bash fetch_data.sh #must same account for all

conda env create -f environment.yaml --name myecon conda activate myecon pip install -r requirements.txt python -c "import torch; print(torch.version, torch.version.cuda)"

pip install --no-index --no-cache-dir pytorch3d==0.7.2 -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py38_cu116_pyt1130/download.html python -c "import pytorch3d; print(pytorch3d.version)"

cd ./lib/common/libmesh; python setup.py build_ext --inplace; cd ../../.. cd ./lib/common/libvoxelize; python setup.py build_ext --inplace; cd ../../..

seems still not working..

(econ) C:\ECON>pip install --no-index --no-cache-dir pytorch3d==0.7.2 -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py38_cu116_pyt1130/download.html Looking in links: https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py38_cu116_pyt1130/download.html ERROR: Could not find a version that satisfies the requirement pytorch3d==0.7.2 (from versions: none) ERROR: No matching distribution found for pytorch3d==0.7.2