MichiGAN icon indicating copy to clipboard operation
MichiGAN copied to clipboard

How to reshape hair with inference.py script? Description of preprocessing pipeline.

Open TsykunovDmitriy opened this issue 4 years ago • 2 comments

Thank you for your work!

I run the inference script many times with different flags. Could you tell me how to achieve hair reshaping? Could you describe the preprocessing pipeline and input data format? I wasted a lot of time trying to run the inference not on a FFHQ dataset.

TsykunovDmitriy avatar Nov 19 '20 17:11 TsykunovDmitriy

Hi, the inference can not change the shape of hair, if you want to do it, please run demo.

I think you might be wondering about the orientation input. The size of orientation map is H*W, ranging from 0 to 255. You can refer to the codes from ./data to find more details.

tzt101 avatar Nov 20 '20 12:11 tzt101

@tzt101 What makes the difference in functionality between demo.py and inference.py? I dig into the code but could not figure out. Why can demo.py change hair shape and inference.py cannot?

(demo.py shows just a blank window for me.)

shionhonda avatar Dec 22 '20 12:12 shionhonda