Closed iammarvelous closed 4 years ago
Indeed, LBFGS (with line search) is the default optimization algorithm for SMPLify-X. Since we inherited this decision from SMPLify, we didn't experiment extensively with Adam.
I understand. I asked this question because I found Adam is used in SPIN. I know this is for the sake of speed. I am just curious whether it leads to sub-optimal SMPLify fits for initial fits in SPIN if the on-the-fly version of SMPLify is used in initialization.
Adam can be a convenient choice because it is faster and its PyTorch implementation supports out-of-the-box batch size larger than one. However, we have empirically observed that LBFGS with line search typically provides better fitting results. For a more comprehensive comparison, you could experiment with both options.
Thanks for the clarification!
It seems that the default optimizer in this repo is
Adam(just realized it is overridden in the yaml), which isdifferent fromthe same as mentioned in the paper (L-BFGS).Is there a particular reason for this?Is there a significant difference (quantitative comparisons) when using these two different optimizers (Adam, LBFGS)?