Skip to content

Commit

Permalink
tweak stepsize for inference test of ScoreGradELBO
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-Portal committed Dec 4, 2024
1 parent eeb2d34 commit b2fd6e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/inference/scoregradelbo_distributionsad.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ end
(; model, μ_true, L_true, n_dims, strong_convexity, is_meanfield) = modelstats

T = 1000
η = 1e-5
η = 1e-4
opt = Optimisers.Descent(realtype(η))

# For small enough η, the error of SGD, Δλ, is bounded as
Expand Down
2 changes: 1 addition & 1 deletion test/inference/scoregradelbo_locationscale.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ end
(; model, μ_true, L_true, n_dims, strong_convexity, is_meanfield) = modelstats

T = 1000
η = 1e-5
η = 1e-4
opt = Optimisers.Descent(realtype(η))

# For small enough η, the error of SGD, Δλ, is bounded as
Expand Down
2 changes: 1 addition & 1 deletion test/inference/scoregradelbo_locationscale_bijectors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ end
(; model, μ_true, L_true, n_dims, strong_convexity, is_meanfield) = modelstats

T = 1000
η = 1e-5
η = 1e-4
opt = Optimisers.Descent(realtype(η))

b = Bijectors.bijector(model)
Expand Down

0 comments on commit b2fd6e2

Please sign in to comment.