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

render problem #5

Closed
Austin13579 opened this issue May 2, 2022 · 2 comments
Closed

render problem #5

Austin13579 opened this issue May 2, 2022 · 2 comments

Comments

@Austin13579
Copy link

Hello,

When I run the Inference Step,
I got:
Traceback (most recent call last):
File "run_predict.py", line 126, in
gender=args.gender)
File "run_predict.py", line 90, in run_predict
visualise_samples=visualise_samples)
File "/Users/mac/Desktop/reconstruction/predict/predict_poseMF_shapeGaussian_net.py", line 197, in predict_poseMF_shapeGaussian_net
verts_features=vertex_var_colours)
File "/opt/anaconda3/envs/ll/lib/python3.6/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/Users/mac/Desktop/reconstruction/renderers/pytorch3d_textured_renderer.py", line 275, in forward
fragments = self.rasterizer(meshes_iuv, cameras=self.cameras)
File "/opt/anaconda3/envs/ll/lib/python3.6/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/opt/anaconda3/envs/ll/lib/python3.6/site-packages/pytorch3d/renderer/mesh/rasterizer.py", line 151, in forward
cull_backfaces=raster_settings.cull_backfaces,
File "/opt/anaconda3/envs/ll/lib/python3.6/site-packages/pytorch3d/renderer/mesh/rasterize_meshes.py", line 150, in rasterize_meshes
cull_backfaces,
File "/opt/anaconda3/envs/ll/lib/python3.6/site-packages/pytorch3d/renderer/mesh/rasterize_meshes.py", line 205, in forward
cull_backfaces,
RuntimeError: NOT IMPLEMENTED
"

Do you have any idea on it?

@akashsengupta1997
Copy link
Owner

akashsengupta1997 commented May 8, 2022

Hi, this sounds like an error that occurs when you try to render on pytorch3d without a CUDA-enabled GPU - are you running the code on CPU only?

(Technically pytorch3d can work on CPU only, but you may have to modify my code somehow to get it to work)

@Austin13579
Copy link
Author

Thank you for your kindly response. I ran the code in Mac before, and I will test it on GPU.

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

2 participants