Closed wang1528186571 closed 5 months ago
More detail about your code would be useful.
But potentially the problem here is the mixture of different numbers of channels. If you are rendering with C channels then everything must have C channels. Could it be that e.g. your lights have RGB components but you have RGBA textures - so mixing 3 and 4? I'm guessing, but you could try something like return tiled_texture.float()[:3]
in place of return tiled_texture.float()
.
I don't know why this error occurs. pytorch3d==0.3.0