Issue
I'd like to read the weights and visualize them as images. But I don't see any documentation about model format and how to read the trained weights.
Solution
There's this utility which has on print_tensors_in_checkpoint_file
method http://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/tools/inspect_checkpoint.py
Alternatively, you can use Saver
to restore the model and use session.run
on variable tensors to get values as numpy arrays
Answered By - Yaroslav Bulatov
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.