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

Display of checkpoint information saved in tf_agents.utils.common.Checkpointer #663

Open
atusi-nakajima opened this issue Sep 25, 2021 · 1 comment

Comments

@atusi-nakajima
Copy link

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.

@summer-yue
Copy link
Member

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

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

No branches or pull requests

2 participants