clipping model parameters in flax.training.train_state.TrainState #4508
Unanswered
jecampagne
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm quite new in
flaxand I'm usinglinen nn.Moduleto setup a simple model. Then I'm usingflax.training.train_state.TrainStatedefault to create a state as followedThis state once created is used in a training loop as
Now, I wander how I can implement a
variables['params']clipping in this context.Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions