Tensorboard loading of Word Embeddings
- Download the vector and metadata: https://github.com/dcstang/readmissionBERT/tree/main/Models/Embeddings
- Open projection here: http://projector.tensorflow.org/
- Load vectors.tsv and metadata.tsv into projector
#!/bin/bash | |
# using google's cwebp | |
# https://developers.google.com/speed/webp/docs/cwebp | |
# -q for quality setting from 0 to 100 | |
# converting JPEG images | |
find $1 -type f -and \( -iname "*.jpg" -o -iname "*.jpeg" \) \ | |
-exec bash -c ' | |
webp_path=$(sed 's/\.[^.]*$/.webp/' <<< "$0"); | |
if [ ! -f "$webp_path" ]; then |
name: tensorflow_env_388 | |
channels: | |
- conda-forge | |
- defaults | |
dependencies: | |
- python=3.8.8 | |
- pip=21.0.1 | |
- numpy=1.19 |
Tensorboard loading of Word Embeddings