Skip to content

Commit 1f58c92

Browse files
committed
addressing review - fix typos, enhance docs
1 parent 93650f0 commit 1f58c92

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

neuralmonkey/experiment.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,11 @@ def _check_unused_initializers(self) -> None:
420420
"variables: " + ", ".join(unused_initializers))
421421

422422
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+
"""
424428
tb_projector = projector.ProjectorConfig()
425429

426430
for sequence in self.model.visualize_embeddings:

neuralmonkey/readers/image_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def image_reader(pad_w: int,
2323
2424
Args:
2525
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.
2727
channels: Number of channels in each image (default 3 for RGB)
2828
prefix: Prefix of the paths that are listed in a image files.
2929
rescale_w: If true, image is rescaled to have given width. It is

0 commit comments

Comments
 (0)