Skip to content

Commit 218baf2

Browse files
committed
Added Tutorial 18
1 parent fb1f303 commit 218baf2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ Even a few dollars are appreciated. Thanks!
5757

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

60+
18. TFRecords & Dataset API ([Notebook](https://github.com/Hvass-Labs/TensorFlow-Tutorials/blob/master/18_TFRecords_Dataset_API.ipynb))
61+
6062
## Videos
6163

6264
These tutorials are also available as [YouTube videos](https://www.youtube.com/playlist?list=PL9Hr9sNUjfsmEu1ZniY0XpHSzl5uihcXZ).

knifey.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
# Number of channels in each image, 3 channels: Red, Green, Blue.
4242
num_channels = 3
4343

44+
# Shape of the numpy-array for an image.
45+
img_shape = [img_size, img_size, num_channels]
46+
4447
# Length of an image when flattened to a 1-dim array.
4548
img_size_flat = img_size * img_size * num_channels
4649

0 commit comments

Comments
 (0)