Upscaling #855
-
The performance hit going from 128 to 256 seems massive, for example, I am going from ~15fps to ~5fps (and ~1.5fps at 512). Apart from massive the sadfeels incurred, what exactly is causing this? Is this a normal/similar performance drop others are noticing? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes this sounds normal. For upscaling/pixel boost the original face is sliced into different sections (using your cpu) into a resolution of 128x128. That sliced version is then face swapped and stored in memory. This is repeated, 4 times when using 512px. At the end all those slices will be merged into the 512x512 version (again using numpy on your cpu). So this is like doing multiple swapping steps + the added overhead of merging into the final result. |
Beta Was this translation helpful? Give feedback.
-
Hey, can I ask what kinda specs you're running to pull 15fps? Is that while using post processing? That's pretty impressive. I just upped my gpu to a 3060 12gb and still aren't coming close to 15fps |
Beta Was this translation helpful? Give feedback.
Yes this sounds normal. For upscaling/pixel boost the original face is sliced into different sections (using your cpu) into a resolution of 128x128. That sliced version is then face swapped and stored in memory. This is repeated, 4 times when using 512px. At the end all those slices will be merged into the 512x512 version (again using numpy on your cpu). So this is like doing multiple swapping steps + the added overhead of merging into the final result.