Skip to content

Commit

Permalink
addressing review - fix typos, enhance docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jindrahelcl committed Jan 6, 2019
1 parent 93650f0 commit 1f58c92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion neuralmonkey/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,11 @@ def _check_unused_initializers(self) -> None:
"variables: " + ", ".join(unused_initializers))

def visualize_embeddings(self) -> None:
"""Visualize embeddings of sequences in `main.visualize_embeddings`."""
"""Insert visualization of embeddings in TensorBoard.
Visualize the embeddings of `EmbeddedFactorSequence` objects specified
in the `main.visualize_embeddings` config attribute.
"""
tb_projector = projector.ProjectorConfig()

for sequence in self.model.visualize_embeddings:
Expand Down
2 changes: 1 addition & 1 deletion neuralmonkey/readers/image_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def image_reader(pad_w: int,
Args:
pad_w: Width to which the images will be padded/cropped/resized.
pad_h: Height to with the images will be padded/cropped/resized.
pad_h: Height to which the images will be padded/cropped/resized.
channels: Number of channels in each image (default 3 for RGB)
prefix: Prefix of the paths that are listed in a image files.
rescale_w: If true, image is rescaled to have given width. It is
Expand Down

0 comments on commit 1f58c92

Please sign in to comment.