Closed 1ssb closed 1 year ago
It looks like the kind of thing which would happen if pytorch3d was built with a different version of pytorch than the one you are using. Note that pytorch3d 0.5.0 is very old. I am not even sure if it is possible to build it with torch 1.13.1. Perhaps you tried, or you used a binary we provided (which won't work).
I have been trying to make the pixel synth (https://github.com/crockwell/pixelsynth/blob/main/docs/INSTALL.md) work which is outdated or not maintained. But it's supposed to work with the pytorch3d >=0.4 version. Does this mean that it's not feasible to make this run anymore?
On Tue, 8 Aug, 2023, 7:24 pm Jeremy Reizenstein, @.***> wrote:
It looks like the kind of thing which would happen if pytorch3d was built with a different version of pytorch than the one you are using. Note that pytorch3d 0.5.0 is very old. I am not even sure if it is possible to build it with torch 1.13.1. Perhaps you tried, or you used a binary we provided (which won't work).
— Reply to this email directly, view it on GitHub https://github.com/facebookresearch/pytorch3d/issues/1607#issuecomment-1669247461, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJWHFEEJCVNYATTTLJJ7L5DXUIATNANCNFSM6AAAAAA3H62YME . You are receiving this because you authored the thread.Message ID: @.***>
It might just work with the latest pytorch3d. If not it should be possible to make it work. (Perhaps someone has already tried and posted how somewhere.)
Alternatively, can you build an environment with old torch?
Yeah...about that couldn't find one. Do you suppose I should get the latest Pytorch 3d and then download the remaining they offer? Also, could you point to the exact code to be used for Linux machines in the conda environment? I found multiple of them and they all seemed to be alternatives to one another..... if you check their original install file it goes like: # installing Pytorch 1.7.1 and Pytorch3D 0.4.0 conda install -c pytorch pytorch=1.7.1 torchvision conda install -c fvcore -c iopath -c conda-forge fvcore iopath conda install -c bottler nvidiacub git clone https://github.com/facebookresearch/pytorch3d.git cd pytorch3d && pip install -e . && cd ..
Which should not be an issue right? I indeed tried with an older Torch and they spit module not found errors.
Those instructions build pytorch3d from source. If you do that, you shouldn't get the error mentioned above.
I think you might be best off installing pytorch 1.13.1 or latest according to pytorch's instructions, then installing pytorch3d according to pytorch3d;s instructions, for which
conda install -c fvcore -c iopath -c conda-forge fvcore iopath
git clone https://github.com/facebookresearch/pytorch3d.git
cd pytorch3d && pip install -e . && cd ..
might be enough.
Thanks, I'll check it out. If it works I will make sure to close the issue.
On Tue, 8 Aug, 2023, 9:45 pm Jeremy Reizenstein, @.***> wrote:
Those instructions build pytorch3d from source. If you do that, you shouldn't get the error mentioned above.
I think you might be best off installing pytorch 1.13.1 or latest according to pytorch's instructions, then installing pytorch3d according to pytorch3d;s instructions, for which
conda install -c fvcore -c iopath -c conda-forge fvcore iopath git clone https://github.com/facebookresearch/pytorch3d.git cd pytorch3d && pip install -e . && cd ..
might be enough.
— Reply to this email directly, view it on GitHub https://github.com/facebookresearch/pytorch3d/issues/1607#issuecomment-1669459530, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJWHFEF2A7QDWM2GCP7JHSTXUIRGXANCNFSM6AAAAAA3H62YME . You are receiving this because you authored the thread.Message ID: @.***>
This worked:
conda install -c pytorch pytorch=1.7.1 torchvision conda install -c bottler nvidiacub conda install -c fvcore -c iopath -c conda-forge fvcore iopath git clone https://github.com/facebookresearch/pytorch3d.git cd pytorch3d && pip install -e . && cd ..
Hi everyone, I am encountering this error, has anyone encountered this as of yet: ImportError: /home/users/xxxx/anaconda3/envs/pixelsynth_replicate/lib/python3.7/site-packages/pytorch3d/_C.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZTIN3c1021AutogradMetaInterfaceE
Trying to run the following:
installing Pytorch 1.7.1 and Pytorch3D 0.4.0
conda install -c pytorch pytorch=1.7.1 torchvision conda install -c fvcore -c iopath -c conda-forge fvcore iopath conda install -c bottler nvidiacub git clone https://github.com/facebookresearch/pytorch3d.git cd pytorch3d && pip install -e . && cd ..