facebookresearch / multiface

Hosts the Multiface dataset, which is a multi-view dataset of multiple identities performing a sequence of facial expressions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RuntimeError: width and height must be divisible by 8

YunjieYu opened this issue · comments

commented

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!

commented

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.