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

Produce the visual embedding #21

Open
alexandreduhamel opened this issue Oct 16, 2018 · 4 comments
Open

Produce the visual embedding #21

alexandreduhamel opened this issue Oct 16, 2018 · 4 comments

Comments

@alexandreduhamel
Copy link

Hi, thanks for sharing your project,

I would like to know how to produce visual embeddings like shown in project page.
I guessed that after execute python visualize_embeddings.py --model_dir experiments/base_model, I could see it in Tensorboard at projector's tab, but I get hang on computing PCA.

@omoindrot
Copy link
Owner

Maybe you have too many images and TensorBoard will take forever to run PCA?

Try a minimal example with maybe two images.

@alexandreduhamel
Copy link
Author

Even with 2 images(MNIST dataset, dimension 64), this still hang on computing PCA.

@omoindrot
Copy link
Owner

Not sure what happens then.

Maybe check stackoverflow: https://stackoverflow.com/questions/44054907/tensorfboard-embeddings-hangs-with-computing-pca

@mharshe
Copy link

mharshe commented Nov 26, 2018

Even with 2 images(MNIST dataset, dimension 64), this still hang on computing PCA.

There was a bug in (or until) tensorboard 1.11 which prevented the embeddings from being plotted. tensorflow/tensorboard#1480 The bug is fixed for v1.12 or if you prefer to stick to earlier version of tensorboard, then patch it with this patch tensorflow/tensorboard#1481 and compile tensorboard yourself. I had the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants