Reputation: 33
Can anyone give me a quick and dirty tutorial about how to modify the code in the this MNIST tutorial and this seq2seq tutorial to log things to a log directory which can then be used in TensorBoard? I didn't really understand the ones on the official site.
Upvotes: 1
Views: 2272
Reputation: 8487
You can create a SummaryWriter object, passing it the log directory, and call add_summary
to log summaries and events to files in that directory. word2vec.py has an example. You can simply point TensorBoard at the log directory by passing it through --logdir
and visualize the summaries.
Upvotes: 3