PowerHouseMan / ComfyUI-AdvancedLivePortrait

1.91k stars 166 forks source link

What is the maximum resolution output of the patch? (for video) #25

Open avillabon opened 3 months ago

avillabon commented 3 months ago

Im using this for video and Im trying to figure out how far it can be pushed in terms of quality. The patch of newly animated head is always a lower quality (understandably). Is there a way to control the resolution of the patch's final output? I played around with "crop_factor" and that seemed to be controlling this, but I can't seem to go lower than 1.5 - I imagine 1 is maximum quality. On kijai's version of liveportrait I could never go higher than 512x512 (for the patch) so maybe this is a limitation of the tech?

This is an amazing evolution of liveportrait, thank you!

PowerHouseMan commented 3 months ago

Crop factor is the ratio that determines how much of the face to crop. 1 is cropping only the face, excluding the hair. So 1.5 is the minimum. The original LivePortrait has a crop factor of 2.3.

avillabon commented 3 months ago

I see. But can the rendered patch be higher than 512x512?

PowerHouseMan commented 3 months ago

It's not possible. This project uses the LivePortrait model. It looks like this model was trained on 256x256.

avillabon commented 3 months ago

Ok that is what I thought. Thank you for confirming.