apchenstu / sofgan

[TOG 2022] SofGAN: A Portrait Image Generator with Dynamic Styling
Other
763 stars 102 forks source link

how to generate mutiview segmap for own image ? #23

Open Continue7777 opened 2 years ago

Continue7777 commented 2 years ago

as described:how to generate mutiview segmap for own image ,just like trump

apchenstu commented 2 years ago

You can follow the instructions here an inverse rendering of portrait segmaps. For real images, you can parse your portrait images into segmaps with existing face-parsers, but please notice that we separate the nose region into the left-and-right nose region by its median, so the output contains 20 semantic classes.

Continue7777 commented 2 years ago

how about the cam2world ,cameras npy? By the way,some params name in your yml do not match the code。

fungtion commented 2 years ago

@apchenstu what's the parameter img_fp.npy like in sof/scripts/DataPreprocess.ipynb? And it seems we need this to generate cam2world.npy and intrinsics.npy