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

Some Tensorboard metadata unsearchable #8177

Closed
brannondorsey opened this issue Mar 7, 2017 · 6 comments
Closed

Some Tensorboard metadata unsearchable #8177

brannondorsey opened this issue Mar 7, 2017 · 6 comments
Assignees
Labels
comp:tensorboard Tensorboard related issues

Comments

@brannondorsey
Copy link

Environment Info

Ubuntu 16.04
Tensorflow installed from pip, TF version 1.0.

Potential Bug

I'm using Tensorboard's embedding projector to perform PCA/t-SNE on a dataset of features I've extracted from ~4K MIDI files. I've created a metadata TSV and pointed my Tensorflow application to it as instructed in the documentation. The metadata parses correctly in Tensorboard, however, when I use the inspector on the right-most panel, many of the fields seem to be unsearchable, or at least yield zero results for any valid query. Searching the first 13 fields (columns) works correctly, however 3 of the last fields are unsearchable, specifically artist_terms, artist_mbtags, and artist_location in embedding_logdir/metadata.tsv.

I'm finding this to be the case independent of whether regex mode is enabled or disabled. I can also confirm that these fields are being parsed correctly as I can select a data point and view the values for these problematic fields. I've also tried creating a metadata file with only those three problematic fieldnames and they continue to misbehave in this test as well.

Reproducing

I've attached my logdir complete with a checkpoint and metadata.tsv. To reproduce my results, extract the folder and launch Tensorboard from inside embedding_logdir's parent directory like so:

tensorboard --logdir embedding_logdir

Tensorboard must be run from the parent directory of embedding_logdir to maintain the correct filepath I specified for the metadata.tsv file in my TF program.

embedding_logdir.tar.gz

@brannondorsey
Copy link
Author

Checking in on this, has anyone been able to reproduce?

@davidlenz
Copy link

davidlenz commented Apr 13, 2017

I tried to, unfortunately wasn't able to reproduce any metadata at all, though the embedding visualizations show up nicely.

What i did:

Extract Files into

C:\Users\gcfghh\Downloads\tmp\embedding_logdir
logdir

Windows cmd:

(py_35) C:\Users\gcfghh\Downloads\tmp\embedding_logdir>tensorboard --logdir embedding_logdir/

This is my result:
tensor

Where did i mess up? I think it has to do something with the path i start tensorboard from, not sure though. Any enlightenments would be greatly appreciated.

Edit1: fixed spelling

Edit2: I over-read that i'm supposed to start Tensorboard from the parent directory.
So i tried > (py_35) C:\Users\gcfghh\Downloads\tmp>tensorboard --logdir embedding_logdir/
and it works like a charm, metadata showing up. I can confirm that the last 3 columns don't show up.
tensor2

Edit3: Did you make this work yet, @brannondorsey ?

Edit4: I didn't check the 'label by" option, only the "colour by". The fields you name actually do show up there ( i did not change anything)
tensor3

@brannondorsey
Copy link
Author

Hey there, thanks for taking the time to try this out. I am only just seeing this, apologies as I must have missed it in my inbox. Are you able to search text strings in any of those columns (searching using the inspector panel on the right, not the left)? Cheers!

@davidlenz
Copy link

I should have taken the time to read all of your introductory question.

I can't search through the problematic fields using the right panel, regardless of regex on/off.

@brannondorsey
Copy link
Author

No worries at all, I appreciate your efforts in reproducing this. Its also worth noting that it isn't just me who is having trouble with this then. @dandelionmane any thoughts on this bug?

@teamdandelion
Copy link
Contributor

I'm migrating this to tensorflow/tensorboard#79, and assigning @dsmilkov and @nsthorat, who build the embedding projector, to take a look.

@itsmeolivia itsmeolivia added the comp:tensorboard Tensorboard related issues label Jun 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:tensorboard Tensorboard related issues
Projects
None yet
Development

No branches or pull requests

4 participants