Zhengxinyang / SDF-StyleGAN

MIT License
119 stars 11 forks source link

How to generate mesh from image #7

Open VladStojBlank opened 1 year ago

VladStojBlank commented 1 year ago

Hi,

Thank you for making this awesome code publicly available! I would just like to know how to perform the shape generation from single-view images, as illustrated in your paper?

Specifically what is the example code and with what parameters should the generator script be called when you want to provide an input image to generate e.g., a car model from?

Zhengxinyang commented 1 year ago

As described in the paper, we use a ResNet to map the input image into the hidden space of the generator on the airplane category. This part of the code is not publicly available for some reasons. But as I described, the core of this application is training an encoder, which is not the contribution of our work. If you are particularly interested, I believe you can complete this part of the code with a simple effort.

VladStojBlank commented 1 year ago

Thank you for your diligent reply, I will look into this further. Best of luck with your future research :)