File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -420,7 +420,11 @@ def _check_unused_initializers(self) -> None:
420
420
"variables: " + ", " .join (unused_initializers ))
421
421
422
422
def visualize_embeddings (self ) -> None :
423
- """Visualize embeddings of sequences in `main.visualize_embeddings`."""
423
+ """Insert visualization of embeddings in TensorBoard.
424
+
425
+ Visualize the embeddings of `EmbeddedFactorSequence` objects specified
426
+ in the `main.visualize_embeddings` config attribute.
427
+ """
424
428
tb_projector = projector .ProjectorConfig ()
425
429
426
430
for sequence in self .model .visualize_embeddings :
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ def image_reader(pad_w: int,
23
23
24
24
Args:
25
25
pad_w: Width to which the images will be padded/cropped/resized.
26
- pad_h: Height to with the images will be padded/cropped/resized.
26
+ pad_h: Height to which the images will be padded/cropped/resized.
27
27
channels: Number of channels in each image (default 3 for RGB)
28
28
prefix: Prefix of the paths that are listed in a image files.
29
29
rescale_w: If true, image is rescaled to have given width. It is
You can’t perform that action at this time.
0 commit comments