SizheAn / PanoHead

Code Repository for CVPR 2023 Paper "PanoHead: Geometry-Aware 3D Full-Head Synthesis in 360 degree"
Creative Commons Zero v1.0 Universal
1.92k stars 238 forks source link

How to export different angle images with my own input? #23

Closed zobnechopin closed 1 year ago

zobnechopin commented 1 year ago

I can generate full head reconstruction video from a single RGB file by use ./gen_pti_script.sh, but how to export different angle images with my own input by use gen_samples.py?

SizheAn commented 1 year ago

Check https://github.com/SizheAn/PanoHead/blob/17ad915941c7e2703d5aa3eb5ff12eac47c90e53/gen_samples.py#L182-L183 for how to specify the angles

zobnechopin commented 1 year ago

Check

https://github.com/SizheAn/PanoHead/blob/17ad915941c7e2703d5aa3eb5ff12eac47c90e53/gen_samples.py#L182-L183

for how to specify the angles

But this method can't use my own input image? It's said "Generate images using pretrained network pickle".

SizheAn commented 1 year ago

Check https://github.com/SizheAn/PanoHead/blob/17ad915941c7e2703d5aa3eb5ff12eac47c90e53/gen_samples.py#L182-L183

for how to specify the angles

But this method can't use my own input image? It's said "Generate images using pretrained network pickle".

You can follow this fork: https://github.com/camenduru/PanoHead-colab to reconstruct a head using your own image and change the code properly to specify angles.

Hyunju37 commented 1 year ago

Hello. Did you get the result from gen_sample.py with your own image? If you did so, can you tell me how?