I am using the tflearn wrapper on top of the tensor stream to create a model and want to add metadata (labels) to the render visualization. Is there any way to associate the metadata.tsv file with the saved checkpoint after it was launched?
I created the projector_config.pbtxt file in the logdir of the checkpoint summaries, where metadata.tsv is in the same folder. The configuration looks like this:
embeddings {
tensor_name: "Embedding/W"
metadata_path: "C:/tmp/tflearn_logs/shallow_lstm/"
}
and was created using code from documents - https://www.tensorflow.org/how_tos/embedding_viz/
I commented on the tf.Session part in the hope of creating a metadata link without having to do it directly in the Session object, but I'm not sure if this is possible.
from tensorflow.contrib.tensorboard.plugins import projector
config = projector.ProjectorConfig()
embedding = config.embeddings.add()
embedding.tensor_name = 'Embedding/W'
embedding.metadata_path = 'C:/tmp/tflearn_logs/shallow_lstm/'
projector.visualize_embeddings(tf.summary.FileWriter('/tmp/tflearn_logs/shallow_lstm/'), config)
. . ?
