Closed dennisushi closed 1 year ago
It exists : https://github.com/facebookresearch/pytorch3d/blob/main/pytorch3d/structures/volumes.py
But isn't found by python:
dir(pytorch3d.structures)
['Meshes',
'Pointclouds',
'__all__',
'__builtins__',
'__cached__',
'__doc__',
'__file__',
'__loader__',
'__name__',
'__package__',
'__path__',
'__spec__',
'join_meshes_as_batch',
'join_meshes_as_scene',
'list_to_packed',
'list_to_padded',
'meshes',
'packed_to_list',
'padded_to_list',
'pointclouds',
'utils']
It's not an issue with this package, rather with PyTorch3d. Closing.
ImportError: cannot import name 'Volumes' from 'pytorch3d.structures' (/home/dennisushi/.local/lib/python3.8/site-packages/pytorch3d/structures/__init__.py)
When running
Seems like the recommended version of pytorch3d might be too new. (0.7.2 from git+https://github.com/facebookresearch/pytorch3d.git@stable )