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

Prevent computing unit norm of vectors of 0s #473

Merged
merged 1 commit into from
Sep 7, 2017

Conversation

chihuahua
Copy link
Member

@chihuahua chihuahua commented Sep 4, 2017

Previously, the embedding projector would take the norm of vectors of all 0s, resulting in vectors of all NaN values being used as part of PCA calculations. This change adds a guard to prevent that.

Fixes #450.

Previously, the embedding projector would take the norm of vectors of all 0s, resulting in vectors of all NaN values being used as part of PCA calculations. This change adds a guard to prevent that.
Copy link
Contributor

@dsmilkov dsmilkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Chi!

@chihuahua chihuahua merged commit 4e08b15 into master Sep 7, 2017
@chihuahua chihuahua deleted the chihuahua-projector branch September 7, 2017 22:17
jart pushed a commit to jart/tensorboard that referenced this pull request Sep 23, 2017
Previously, the embedding projector would take the norm of vectors of all 0s, resulting in vectors of all NaN values being used as part of PCA calculations. This change adds a guard to prevent that.
jart pushed a commit that referenced this pull request Sep 26, 2017
Previously, the embedding projector would take the norm of vectors of all 0s, resulting in vectors of all NaN values being used as part of PCA calculations. This change adds a guard to prevent that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants