You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm now using some old codebase implemented by others that depends on pytorch3D (version 0.1.0). So after I install the corresponding version of pytorch3D and run their codebase, then I get this error:
Traceback (most recent call last):
File "/my_folder/main.py", line 60, in <module>
from pytorch3d.structures import Meshes, Textures
File "/my_folder/pytorch3d-0.1.0/pytorch3d/structures/__init__.py", line 3, in <module>
from .meshes import Meshes
File "/my_folder/pytorch3d-0.1.0/pytorch3d/structures/meshes.py", line 6, in <module>
from pytorch3d import _C
ImportError: /my_folder/HandTexture/pytorch3d-0.1.0/pytorch3d/_C.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _Z24RasterizeMeshesNaiveCudaRKN2at6TensorES2_S2_ifib
I've found a similar issue (#29), which seems to be a version issue that requires me to upgrade pytorch3D. However, after I upgrade the pytorch3D, I find that several functions in the old codebase cannot be used: Textures in pytorch3d.structures, TexturedPhongShader in pytorch3d.renderer.
So I guess there're 2 ways to solve this:
Find some other method to solve this undefined symbol issue aside from upgrading pytorch3D.
Replace the Textures in pytorch3d.structures and TexturedPhongShader in pytorch3d.renderer with some new functions (I've attached the corresponding code for this 2 functions used in the codebase).
Could you help me with this issue? Thank you so much!!
Description of the issue
I'm now using some old codebase implemented by others that depends on pytorch3D (version 0.1.0). So after I install the corresponding version of pytorch3D and run their codebase, then I get this error:
I've found a similar issue (#29), which seems to be a version issue that requires me to upgrade pytorch3D. However, after I upgrade the pytorch3D, I find that several functions in the old codebase cannot be used: Textures in pytorch3d.structures, TexturedPhongShader in pytorch3d.renderer.
So I guess there're 2 ways to solve this:
undefined symbol
issue aside from upgrading pytorch3D.Could you help me with this issue? Thank you so much!!
corresponding code for the 2 functions
conda and pip list
conda list:
pip list:
The text was updated successfully, but these errors were encountered: