Skip to content

Commit

Permalink
updated TFRecord doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhitingHu committed Apr 4, 2019
1 parent 1b24ec9 commit 6a6202c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions texar/data/data/tfrecords_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class TFRecordData(DataBase):
# }
# }
...
.. code-block:: python
# Read image data from TFRecord file and do resizing
hparams={
Expand Down Expand Up @@ -138,8 +138,8 @@ class TFRecordData(DataBase):
# 'label': [1],
#
# # "image_raw" is a list of a "numpy.ndarray" image
# # in this example. Its width equals to 512 and
# # its height equals to 512.
# # in this example. Each image has a width of 512 and
# # height of 512.
# 'image_raw': [...]
# }
# }
Expand Down

0 comments on commit 6a6202c

Please sign in to comment.