Skip to content

Commit

Permalink
Added Tutorial 18
Browse files Browse the repository at this point in the history
  • Loading branch information
Hvass-Labs committed Nov 25, 2017
1 parent fb1f303 commit 218baf2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ Even a few dollars are appreciated. Thanks!

17. Estimator API ([Notebook](https://github.com/Hvass-Labs/TensorFlow-Tutorials/blob/master/17_Estimator_API.ipynb))

18. TFRecords & Dataset API ([Notebook](https://github.com/Hvass-Labs/TensorFlow-Tutorials/blob/master/18_TFRecords_Dataset_API.ipynb))

## Videos

These tutorials are also available as [YouTube videos](https://www.youtube.com/playlist?list=PL9Hr9sNUjfsmEu1ZniY0XpHSzl5uihcXZ).
Expand Down
3 changes: 3 additions & 0 deletions knifey.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
# Number of channels in each image, 3 channels: Red, Green, Blue.
num_channels = 3

# Shape of the numpy-array for an image.
img_shape = [img_size, img_size, num_channels]

# Length of an image when flattened to a 1-dim array.
img_size_flat = img_size * img_size * num_channels

Expand Down

0 comments on commit 218baf2

Please sign in to comment.