File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -166,14 +166,14 @@ def run_example(
166
166
epochs_num = 8
167
167
elif flow_type == "RQSpline" :
168
168
# epochs_num = 5
169
- epochs_num = 50
169
+ epochs_num = 10
170
170
171
171
temperature = 0.8
172
172
training_proportion = 0.5
173
173
standardize = True
174
174
# Spline params
175
- n_layers = 5
176
- n_bins = 5
175
+ n_layers = 3
176
+ n_bins = 8
177
177
hidden_size = [32 , 32 ]
178
178
spline_range = (- 10.0 , 10.0 )
179
179
@@ -205,7 +205,7 @@ def run_example(
205
205
"""
206
206
Set up and run multiple simulations
207
207
"""
208
- n_realisations = 100
208
+ n_realisations = 50
209
209
ln_evidence_inv_summary = np .zeros ((n_realisations , 5 ))
210
210
for i_realisation in range (n_realisations ):
211
211
if n_realisations > 1 :
@@ -489,7 +489,7 @@ def run_example(
489
489
490
490
# flow_str = "RealNVP"
491
491
flow_str = "RQSpline"
492
- np .random .seed (20 )
492
+ np .random .seed (2 )
493
493
494
494
hm .logs .info_log ("Rosenbrock example" )
495
495
You can’t perform that action at this time.
0 commit comments