-
LookAhead optimizer works like a optimizer wrapper(https://github.com/rwightman/pytorch-image-models/blob/a6e8598aaf90261402f3e9e9a3f12eac81356e9d/timm/optim/lookahead.py#L20). How Can we add LookAhead to mmengine? |
Beta Was this translation helpful? Give feedback.
Answered by
ZwwWayne
Nov 7, 2022
Replies: 2 comments
-
We can simply copy the implementation of LookAhead into the optimizer folder and add it into the registry of optimizer. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ZwwWayne
-
Would you like to do that? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We can simply copy the implementation of LookAhead into the optimizer folder and add it into the registry of optimizer.