Created
May 30, 2018 18:17
-
-
Save JasonTam/0dd1c1f679163f98b000d60a264417d4 to your computer and use it in GitHub Desktop.
exmaple of how to inspect the contents of a tensorflow V2 checkpoint
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
from tensorflow.python.tools.inspect_checkpoint import print_tensors_in_checkpoint_file | |
print_tensors_in_checkpoint_file( | |
file_name='/tmp/tensorboard-logs/tophat-movielens/20180530T140423/model.ckpt', | |
tensor_name=None, all_tensors=False, | |
all_tensor_names=True, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment