Skip to content

Commit f63c3c2

Browse files
Deep Resampling, aka NoGAN2 (circle dataset)
1 parent a47d4ce commit f63c3c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DeepResampling_circle.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def h(arr):
480480
weights = [0.5, 0.5]
481481
hyperParam = [1.00, 1.00, 1.00, 0.00, 0.00, 0.00, 0.00, 0.00, 1.00]
482482
hyperParam = hyperParam / np.sum(hyperParam)
483-
flagParam = hyperParam
483+
flagParam = np.copy(hyperParam)
484484
history = deep_resampling(hyperParam, run, loss_type, n_batches, n_iter,
485485
nobs_synth, weights, flagParam, mode)
486486
evaluate_and_save('synth_vg2.csv', weights, run, flagParam)

0 commit comments

Comments
 (0)