Skip to content

Commit

Permalink
Merge pull request #614 from jpgard/jpgard-typo-fix
Browse files Browse the repository at this point in the history
typo fix to writer.py
  • Loading branch information
lanpa committed Mar 9, 2021
2 parents 34d1616 + 4638ad7 commit cc77162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorboardX/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ def add_image_with_boxes(self, tag, img_tensor, box_tensor, global_step=None,
e.g. CHW or HWC
box_tensor: (torch.Tensor, numpy.array, or string/blobname): NX4, where N is the number of
boxes and each 4 elememts in a row represents (xmin, ymin, xmax, ymax).
boxes and each 4 elements in a row represents (xmin, ymin, xmax, ymax).
"""
if self._check_caffe2_blob(img_tensor):
img_tensor = workspace.FetchBlob(img_tensor)
Expand Down

0 comments on commit cc77162

Please sign in to comment.