Skip to content

Commit

Permalink
Minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kazewong committed May 27, 2024
1 parent 3c52f77 commit 193ddc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flowMC/Sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def __init__(
self.likelihood_vec = self.local_sampler.logpdf_vmap

self.optim = optax.chain(
optax.clip(1.0), optax.adamw(self.learning_rate, self.momentum), optax.ema(0.999)
optax.clip(1.0), optax.adam(self.learning_rate, self.momentum)
)
self.optim_state = self.optim.init(eqx.filter(self.nf_model, eqx.is_array))

Expand Down

0 comments on commit 193ddc2

Please sign in to comment.