Replies: 5 comments
|
If you are using tf backend, you can use gradient accumulation old TF way with it. |
0 replies
|
What is this old way? |
0 replies
|
I wanted to try this as well, but the problem currently appears to be that MirroredStrategy is broken in the latest versions of keras. see #21061 Besides that, I don't think there is an official old way. That's why there were a few wrappers in the wild as for example this one here: https://gradientaccumulator.readthedocs.io/en/latest/background/gradient_accumulation.html |
0 replies
0 replies
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.
Does anybody know if the implemented gradient accumulation can run under
tf.distribute.MirroredStrategy?All reactions