-
Notifications
You must be signed in to change notification settings - Fork 613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lookahead bug when loading saved model #1373
Comments
cc @CyberZHG |
I opened a pull request to fix the bug. The fix will be backported to the 0.8 branch. @GaranceRichard when this is merged, you'll be able to load your model using tfa-nightly. When the backport is merged and a release is done, you'll be able to load your model with tensorflow-addons 0.8.4. |
found a solution to load it : load without compilation, import optimizers, compile with optimizers... it works but it could be better... |
Still have the problem after updating the package with the last version... |
This bug appears to still exist in |
If you have a minimal code snippet to reproduce this with 0.13 please open a new ticket |
The issue disappears in a minimal example I mocked up. The problem likely comes from the distributed setup I'm using, I'm guessing from inadvertently saving in |
System information
Describe the bug
My model uses TFA: Lookahead with Radam (ranger)
Trained it: ok
Saved it: ok
Impossible to load it:
Code to reproduce the issue
on definition :
on load :
Tips: When I tried to open H5 copy of the saved model: in total_steps, value = 10000.0
The text was updated successfully, but these errors were encountered: