RuntimeError: width and height must be divisible by 8
YunjieYu opened this issue · comments
Greate work! I'm having a problem on running the training script.
For some reason, I really can not use dr.RasterizeGLContext() , so choose to use dr.RasterizeCudaContext(), i.e.:
self.glctx = dr.RasterizeCudaContext()
in the utils.py, line 18.
However, an error occurs:
RuntimeError: width and height must be divisible by 8
I guess the reason is that width of 1334 is not divisible by 8. Could you tell me how to fix it?
Thanks in advance!
Hi,
I think one alternative would be to render the image to the closest resolution and perform cropping/indexing to obtain the desired region in this case.