Skip to content

Commit ab48d11

Browse files
committed
shrink stepsize for nsf
1 parent 750c1e1 commit ab48d11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/demo_neural_spline_flow.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ rng = Random.default_rng()
118118
T = Float32
119119

120120
######################################
121-
# a difficult banana target
121+
# neals funnel target
122122
######################################
123123
target = Funnel(2, 0.0f0, 9.0f0)
124124
logp = Base.Fix1(logpdf, target)
@@ -157,7 +157,7 @@ flow_trained, stats, _ = train_flow(
157157
logp,
158158
sample_per_iter;
159159
max_iters=50_000,
160-
optimiser=Optimisers.Adam(2e-4),
160+
optimiser=Optimisers.Adam(5e-5),
161161
ADbackend=adtype,
162162
show_progress=true,
163163
callback=cb,

0 commit comments

Comments
 (0)