Speed > Quality Tuning
emlcpfx opened this issue · 14 comments
Aside from the pyr levels are there other settings we can tweak to squeeze out more performance at the sacrifice of a perfect track?
You could optimize lower resolution for instance. 256x256 images that should give speedup. Pyr levels and the number of steps per level can also be reduced.
I tried changing cfg.image_size = [512, 512] to 256x256, and got an error.
Am I supposed to change a different parameter to get the 256 images you mentioned above? Thank you!
What if you set pyr_levels: [[1.0, 160], [0.5, 40]]
. The first element in the array is only for keypoint optimization the next one is Gaussian pyr levels. Here you will do 1.0 original resolution (let's assume 512x512) for sparse/keypoint term and 256x256, 40 times for dense term.
I can get it to EMOCA V2 speeds. I was irrationally hoping to get that quality of track at 3DDFA_V2 speeds.
(I’m on a Ryzen 5800X and RTX 3090.)
@emlcpfx What speeds are we talking and how did you make that happen, just applying the image downscaling and changing the pyramid levels?
@larsh0103 yes, just by changing the values above. The problem was, I could get it down to EMOCA speeds, but then EMOCA was more accurate, and I already had a workflow built around it. Didn’t make sense to port it to MICA.
@larsh0103 yes, just by changing the values above. The problem was, I could get it down to EMOCA speeds, but then EMOCA was more accurate, and I already had a workflow built around it. Didn’t make sense to port it to MICA.
Gotcha! Thanks for letting me know!