Open jiwoongim opened 7 years ago
@jiwoongim not yet, although it would be a cool feature. Do you do it repeatedly, or just export embeddings as a one-time job? If tensorflow runtime dependency is not a issue for you, then something like https://github.com/lopuhin/sensefreq/blob/391395cb5e0f4bf66c25f5fce50d0a38d9bd47c3/rs/rnn2_stuff.py#L71 should work.
Is it your intent to expand this to allow histograms, images? (audio?)
@elbamos ideally, support for all types of data should be added. Right now there are declarations for histograms, images and sound in the protobuf file here: https://github.com/TeamHG-Memex/tensorboard_logger/blob/master/tensorboard_logger/tf_protobuf/summary.proto - so what is left is converting the most natural python representation of this data to a format required by this protobuf declaration. Tensorflow should already have this code (in Python or C++), so it can serve as a source for inspiration or copying. I don't have a timeframe for this features, and pull requests are very welcome.
I just poked around in the tf code to see if I could identify the code for writing histograms and, well, ick.
Does this work for tensorboard embedding visualizations?