ECON icon indicating copy to clipboard operation
ECON copied to clipboard

about pytorch3d 0.7.1

Open datachiii opened this issue 2 years ago • 3 comments

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

datachiii avatar May 19 '23 07:05 datachiii

>>> 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.

YuliangXiu avatar May 19 '23 12:05 YuliangXiu

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 ../../..

yuedajiong avatar Jun 25 '23 03:06 yuedajiong

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

dpredie avatar Sep 28 '23 17:09 dpredie