Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about pytorch3d 0.7.1 #59

Open
datachiii opened this issue May 19, 2023 · 3 comments
Open

about pytorch3d 0.7.1 #59

datachiii opened this issue May 19, 2023 · 3 comments

Comments

@datachiii
Copy link

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
Copy link
Owner

>>> 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
Copy link

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
Copy link

dpredie commented Sep 28, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants