In terms of the objective, starting values were identical, and final values were within 0.0002% of each other, which is encouraging.
Overall, my method is 3x faster.
The linear solver times, which in my method accounts for 65% of the total time, are comparable; mine is 1.16x faster, using a pure Julia re-implementation of SuiteSparse, instead of SuiteSparse itself.
My cost function computation is 22x faster
My Jacobian computation is 4x faster.
All the other stuff is 10x faster in my implementation.
30834 [2023-08-23 17:21:54 -0700] cd /tmp
30835 [2023-08-23 17:21:58 -0700] git clone https://github.com/ojwoodford/ceres-solver/
30836 [2023-08-23 17:22:04 -0700] cd ceres-solver/
30837 [2023-08-23 17:22:06 -0700] git checkout dev
30838 [2023-08-23 17:22:10 -0700] mkdir cmake-build
30839 [2023-08-23 17:22:12 -0700] cd cmake-build
30840 [2023-08-23 17:22:28 -0700] cmake ../ -G Ninja
30841 [2023-08-23 17:22:36 -0700] ninja bundle_adjuster
30842 [2023-08-23 17:23:43 -0700] ./bin/bundle_adjuster --input=${HOME}/Downloads/problem-16-22106-pre.txt
iter cost cost_change |gradient| |step| tr_ratio tr_radius ls_iter iter_time total_time
0 9.736694e+05 0.00e+00 1.88e+06 0.00e+00 0.00e+00 1.00e+04 0 2.56e-02 4.06e-02
1 1.074873e+05 8.66e+05 1.18e+06 0.00e+00 1.59e+00 3.00e+04 1 1.27e-01 1.68e-01
2 5.421333e+04 5.33e+04 4.35e+05 1.16e+03 7.13e-01 3.25e+04 1 8.39e-02 2.52e-01
<snip>
38 1.438271e+04 2.30e-02 3.78e+00 1.46e-01 2.00e+00 2.18e+15 1 8.20e-02 3.04e+00
Solver Summary (v 2.2.0-eigen-(3.4.0)-lapack-suitesparse-(7.1.0)-metis-(5.1.0)-acceleratesparse-eigensparse)
Original Reduced
Parameter blocks 22122 22122
Parameters 66478 66478
Effective parameters 66462 66462
Residual blocks 83718 83718
Residuals 167436 167436
Minimizer TRUST_REGION
Trust region strategy LEVENBERG_MARQUARDT
Sparse linear algebra library SUITE_SPARSE
Given Used
Linear solver SPARSE_NORMAL_CHOLESKY SPARSE_NORMAL_CHOLESKY
Threads 1 1
Linear solver ordering 22106,16 22106,16
Cost:
Initial 9.736694e+05
Final 1.438271e+04
Change 9.592867e+05
Minimizer iterations 39
Successful steps 32
Unsuccessful steps 7
Time (in seconds):
Preprocessor 0.014988
Residual only evaluation 0.084480 (31)
Jacobian & residual evaluation 0.647794 (32)
Linear solver 2.145158 (38)
Minimizer 3.030012
Postprocessor 0.000629
Total 3.045629
Termination: NO_CONVERGENCE (Maximum number of iterations reached. Number of iterations: 38.)
Sameer
--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/aff3d50f-762b-4be0-86a6-18b08f2d8909n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/87a785f7-2133-42ca-b94b-8416ceaa70d7n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/3e03e06f-6de1-499c-a23d-00c42d28fa9dn%40googlegroups.com.