通过 gist 在线发布 TensorFlow Embedding Projector 的 Shareable link 错误

Shareable link error for publishing TensorFlow Embedding Projector online through gist

http://projector.tensorflow.org/ allows you to publish and share your own visualizations if you click "publish" and link to your own .json config gist w/ path to your own data. However, I'm getting an error when I link it to my gist .json config file as the instructions dictate (https://gist.github.com/jmolayem/2a28b68807602e4c3c8fa9987c1d08a6):

{
  "embeddings": [
    {
      "tensorName": "My tensor",
      "tensorShape": [
        1000,
        50
      ],
      "tensorPath": "https://gist.github.com/jmolayem/2a28b68807602e4c3c8fa9987c1d08a6#file-test55-tsv"
    }
  ]
}

我的直觉是 tensorShape 必须匹配 .tsv 文件。但如果那是真的,我不明白为什么直接上传 .tsv 文件在演示中有效,但在我发布时却无效。

我在格式化 gist 文件时遗漏了什么吗?

你很接近!您的 tensorPath 没有指向原始 tsv 文件,而是指向显示该文件片段以及其他文件的 html 页面。

如果您点击 test55.tsv 代码段左上角的 raw 按钮,您将获得 https://gist.githubusercontent.com/jmolayem/2a28b68807602e4c3c8fa9987c1d08a6/raw/15252f862a318b8b11e550bdf2bfddb3991f4cab/test55.tsv

您应该将其用作 tensorPath