Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change PolicySaver.save_checkpoint() to save files in the 'variables'…
… sub-dir. This makes the layout files for save_checkpoint() the same as for full models, which is tidier and make it easier to combine will full model files. Make the code more robust by using constants defined in the saved_model module for the various components of saved paths. Still use the current values in tests, because users will likely hardcode these values in their code. Update all users and tests for save_checkpoint(). PiperOrigin-RevId: 302211945 Change-Id: I45ce03c5feee55e9fe1425f85b789e2216b328f0
- Loading branch information
TF-Agents Team
authored and
Copybara-Service
committed
Mar 21, 2020
1 parent
3c72322
commit 7af6850
Showing
4 changed files
with
35 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters