Skip to content

Commit e3b0b52

Browse files
Merge pull request #474 from amanp592:master
PiperOrigin-RevId: 244732987
2 parents 0571a28 + 902c1d0 commit e3b0b52

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

site/en/guide/embedding.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,12 @@ through a sequence of bookmarks.
190190
If you are working with an embedding, you'll probably want to attach
191191
labels/images to the data points. You can do this by generating a metadata file
192192
containing the labels for each point and clicking "Load data" in the data panel
193-
of the Embedding Projector.
193+
of the Embedding Projector. The metadata can be either *labels* or *images* that
194+
are stored in a separate file.
194195

195-
The metadata can be either labels or images, which are
196-
stored in a separate file. For labels, the format should
196+
For labels metadata, the format should
197197
be a [TSV file](https://en.wikipedia.org/wiki/Tab-separated_values)
198-
(tab characters shown in red) whose first line contains column headers
198+
(tab characters shown in red) where the first line contains column headers
199199
(shown in bold) and subsequent lines contain the metadata values. For example:
200200

201201
<code>
@@ -213,12 +213,12 @@ expect a header row, and assume each row is the label of the embedding. We
213213
include this exception because it matches the commonly-used "vocab file"
214214
format.
215215

216-
To use images as metadata, you must produce a single
217-
[sprite image](https://www.google.com/webhp#q=what+is+a+sprite+image),
218-
consisting of small thumbnails, one for each vector in the embedding. The
219-
sprite should store thumbnails in row-first order: the first data point placed
220-
in the top left and the last data point in the bottom right, though the last
221-
row doesn't have to be filled, as shown below.
216+
To use images as metadata, create a single sprite image consisting of small
217+
thumbnails—one for each vector in the embedding. A sprite image stores
218+
thumbnails for all the sample images in a single large image. The sprite should
219+
store thumbnails in row-first order: the first data point placed in the top left
220+
and the last data point in the bottom right, though the last row doesn't have to
221+
be filled, as shown below.
222222

223223
<table style="border: none;">
224224
<tr style="background-color: transparent;">

0 commit comments

Comments
 (0)