Skip to content

Instantly share code, notes, and snippets.

ERROR: LoadError: MethodError: no method matching metadatatype(::Type{Cassette.Context{nametype(JacobianSparsityContext),Tuple{Sparsity,SparsityDetection.Path},Cassette.Tag{nametype(JacobianSparsityContext),0xfa4ce99a74734773,Nothing},SparsityDetection.var"##PassType#422",IdDict{Module,Dict{Symbol,Cassette.BindingMeta}},Cassette.DisableHooks}}, ::Type{Type})
Closest candidates are:
metadatatype(::Type{#s111} where #s111<:(Cassette.Context{nametype(JacobianSparsityContext),M,T,P,B,H} where H<:Union{Cassette.DisableHooks, Nothing} where B<:Union{Nothing, IdDict{Module,Dict{Symbol,Cassette.BindingMeta}}} where P<:Cassette.AbstractPass where T<:Union{Nothing, Cassette.Tag} where M), ::Type{#s16} where #s16<:Number) at /home/celestine/.julia/packages/SparsityDetection/AQ5is/src/jacobian.jl:68
metadatatype(::Type{#s111} where #s111<:(Cassette.Context{nametype(JacobianSparsityContext),M,T,P,B,H} where H<:Union{Cassette.DisableHooks, Nothing} where B<:Union{Nothing, IdDict{Module,Dict{Symbol,Cassette.BindingMeta}
@CelestineAngla
CelestineAngla / ldl_amd_138.log
Created June 1, 2020 19:23
Méthode d'initialisation de lambda
┌ Info: FeasibilityResidual - Nonlinear least-squares defined from constraints of another problem
│ Problem name: LadyBug-138-19878-feasres
│ Total variables………60876 Total constraints…0
│ free………………………………60876 linear…………………………0
│ lower……………………………0 nonlinear…………………0
│ upper……………………………0 equality……………………0
│ low/upp………………………0 lower……………………………0
│ fixed……………………………0 upper……………………………0
│ nnzh………………………………1852974126 low/upp………………………0
│ nnzj………………………………0
@CelestineAngla
CelestineAngla / ldl_metis_simple.log
Created May 28, 2020 21:12
Version simple LDL : [δr; δ] = [[I J];[J' -λI] \ [-r; 0]
┌ Info: nothing
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:29
┌ Info: iter f(x) Δf ‖Jᵀr‖ λ ‖δ‖ ½‖δr‖² ½‖δr‖² - f step accepted
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:140
┌ Info: 0.0e+00 8.5e+05 0.0e+00 2.4e+07 1.5e+00
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:145
┌ Info: 1 2.3e+05 6.3e+05 3.2e+07 5.0e-01 2.8e+01 1.5e+04 -2.1e+05 true
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:147
┌ Info: 2 4.2e+04 1.8e+05 6.3e+06 1.7e-01 3.3e+01 1.4e+04 -2.8e+04 true
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:147
@CelestineAngla
CelestineAngla / qr_metis_simple.log
Created May 28, 2020 20:58
Version simple QR : δ = [J; √λI] \ [-r; 0]
┌ Info: iter f(x) Δf ‖Jᵀr‖ λ ‖δ‖ ½‖δr‖² ½‖δr‖² - f step accepted
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:140
┌ Info: 0.0e+00 8.5e+05 0.0e+00 2.4e+07 1.5e+00
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:145
┌ Info: 1 2.3e+05 6.3e+05 3.2e+07 5.0e-01 2.8e+01 1.5e+04 -2.1e+05 true
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:147
┌ Info: 2 4.2e+04 1.8e+05 6.3e+06 1.7e-01 3.3e+01 1.4e+04 -2.8e+04 true
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:147
┌ Info: 3 1.7e+04 2.5e+04 1.1e+06 5.6e-02 4.6e+01 1.4e+04 -2.7e+03 true
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:147
@CelestineAngla
CelestineAngla / ldl_metis_a.log
Created May 27, 2020 20:47
Versions without line search for λ
┌ Info: iter f(x) Δf ‖Jᵀr‖ λ ‖δ‖ ½‖δr‖² ½‖δr‖² - f step accepted
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:140
┌ Info: 0.0e+00 8.5e+05 0.0e+00 2.4e+07 1.5e+00
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:145
┌ Info: 1 2.3e+05 6.3e+05 3.2e+07 5.0e-01 2.8e+01 1.5e+04 -2.1e+05 true
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:147
┌ Info: 2 4.2e+04 1.8e+05 6.3e+06 1.7e-01 3.3e+01 1.4e+04 -2.8e+04 true
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:147
┌ Info: 3 1.7e+04 2.5e+04 1.1e+06 5.6e-02 4.6e+01 1.4e+04 -2.7e+03 true
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:147
┌ Info: iter ½‖r‖² d(½‖r‖²) ‖δ‖ step accepted
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:132
┌ Info: 0 8.5e+05 0.0e+00 NaN 0
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:137
┌ Info: 1 2.3e+05 6.3e+05 2.8e+01 true 3.0e+04
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:137
┌ Info: 2 4.2e+04 1.8e+05 3.3e+01 true 2.9e+04
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:137
┌ Info: 3 1.7e+04 2.5e+04 4.6e+01 true 2.8e+04
└ @ Main /home/celestine/Documents/BundleAdjustment/src/LevenbergMarquardt.jl:137
Generic Execution stats
status: solved to within acceptable tolerances
objective value: 13356.451735828234
primal feasibility: 968509.2143838224
dual feasibility: Inf
solution: [-0.28133931367649767 0.026504196106562253 -3.342271449352448 -0.28130832637187986 ⋯ 404.0849122292037]
iterations: 148
elapsed time: 54.377142906188965
Generic Execution stats
status: solved to within acceptable tolerances
objective value: 13356.452045648093
primal feasibility: 2.199798277726652e7
dual feasibility: Inf
solution: [-0.2793047465566001 0.02831705160059673 -3.3394958996916864 -0.2792507278609563 ⋯ 404.0849578264195]
iterations: 107
elapsed time: 38.87174701690674