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

No module named 'pytorch3d.structures' #221

Open
Garv62003 opened this issue May 21, 2024 · 0 comments
Open

No module named 'pytorch3d.structures' #221

Garv62003 opened this issue May 21, 2024 · 0 comments

Comments

@Garv62003
Copy link

/usr/local/lib/python3.10/dist-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
warnings.warn(
/usr/local/lib/python3.10/dist-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or None for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing weights=None.
warnings.warn(msg)
creating the FLAME Decoder
trained model found. load /content/drive/MyDrive/DECA/data/deca_model.tar
Traceback (most recent call last):
File "/content/drive/MyDrive/DECA/demos/demo_reconstruct.py", line 131, in
main(parser.parse_args())
File "/content/drive/MyDrive/DECA/demos/demo_reconstruct.py", line 46, in main
deca = DECA(config = deca_cfg, device=device)
File "/content/drive/MyDrive/DECA/decalib/deca.py", line 50, in init
self._setup_renderer(self.cfg.model)
File "/content/drive/MyDrive/DECA/decalib/deca.py", line 53, in _setup_renderer
set_rasterizer(self.cfg.rasterizer_type)
File "/content/drive/MyDrive/DECA/decalib/utils/renderer.py", line 27, in set_rasterizer
from pytorch3d.structures import Meshes
ModuleNotFoundError: No module named 'pytorch3d.structures'

Please, can someone help me solve this issue?

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

1 participant