agents
agents copied to clipboard
Display of checkpoint information saved in tf_agents.utils.common.Checkpointer
I used save in tf_agents.utils.common.Checkpointer to save the checkpoint file. I would like to see the information (weight values, etc.) of the contents of the file, how can I display it? Here is a link to the file I want to work with. Please let me know.
Underneath you're using tf.train.CheckpointManager.save(). Your question is how to inspect a checkpointed file from Tensorflow.
There's been some discussions about potentially using the inspect_checkpoint.py
tool
http://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/tools/inspect_checkpoint.py
(full disclosure I haven't used this myself).
If you know the model names and structures, you could always recreate the model and restore the weights following instructions here: https://www.tensorflow.org/api_docs/python/tf/train/Checkpoint