Skip to content
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

Compatibility with TensorFlow 2.4.1 #380

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fracpete
Copy link
Contributor

@fracpete fracpete commented Sep 1, 2022

  • Under TF 2, the output for the first checkpoint is .00001.index and .00001.data-00000-of-00001 rather than .0. get_epoch_number_from_path now strips path using os.path.basename and the .index suffix to properly return the number of the checkpoint.

  • model_from_checkpoint_path now uses os.path.join to avoid having to supply a trailing slash for the model directory.

…points_path and _config.json to handle missing trailing slash in path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant