-
Notifications
You must be signed in to change notification settings - Fork 31
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
RuntimeError: Tensors must have same number of dimensions: got 4 and 5 #19
Comments
Hi, this is probably a |
Well done , I have already managed to solve it on my own , by tracing back the problem in pytorch3d library . It had to do with the renderer.shader function , in your script I have done the following
|
It works like a charm with #21 |
I have run into the following error when running
scripts/create_mvr_data_from_mesh.py
for the first timeAs you can see the error is raised at line 206 of the script and is caused by this call:
images = renderer.shader(fragments, meshes_batch, lights=lights, cameras=cams)
Can you help me with this ?
Version
Python: 3.8
Pytorch: 1.6
Pytorch3D : 0.6.1
System
System='Linux'
release='4.15.0-188-generic'
version='#199-Ubuntu SMP Wed Jun 15 20:42:56 UTC 2022'
machine='x86_64'
Note
In the
README.md
file you say to runexternal/prefix
, but I could only findexternal/prefix_sum
.I have successfully run all the
setup.py
scripts.The text was updated successfully, but these errors were encountered: