I want to add a regular term in least non-linear square function. How to do in Ceres Solver?
Asked
Active
Viewed 226 times
1 Answers
1
Pure L1-norm residual is non-differentiable and you cannot use it with ceres or for that matter any solver which depends on derivatives. However, Huber loss, or the SoftL1 loss included with Ceres are smooth approximations to L1 loss and you should be able to use them.

Sameer Agarwal
- 592
- 2
- 4