pytorch3d icon indicating copy to clipboard operation
pytorch3d copied to clipboard

ImportError: cannot import name 'Volumes' from 'pytorch3d.structures'

Open Li-weiyan opened this issue 2 years ago • 1 comments

❓ Questions on how to use PyTorch3D

This is my code:

from pytorch3d.structures import Pointclouds, Volumes

but error:

ImportError: cannot import name 'Volumes' from 'pytorch3d.structures'

how to handle this?my pytorch3d version is 0.2.5

Li-weiyan avatar Oct 10 '23 14:10 Li-weiyan

PyTorch3D version 0.2.5 is very old. Volumes probably did not exist in that version.

bottler avatar Oct 10 '23 23:10 bottler