From c949cb991fbaf8135da5c907830f0bf771a127c8 Mon Sep 17 00:00:00 2001 From: ShanksAndSS <45415847+ShanksAndSS@users.noreply.github.com> Date: Wed, 25 Nov 2020 12:01:20 +0800 Subject: [PATCH 1/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e4977894..c964c600 100644 --- a/README.md +++ b/README.md @@ -98,3 +98,4 @@ The following examples are coming from [TFLearn](https://github.com/tflearn/tfle ### Examples - [TFLearn Examples](https://github.com/tflearn/tflearn/blob/master/examples). A large collection of examples using TFLearn. +- From b90be4dec69f8858617b332d3f6828804717171a Mon Sep 17 00:00:00 2001 From: ShanksAndSS <45415847+ShanksAndSS@users.noreply.github.com> Date: Wed, 25 Nov 2020 12:08:40 +0800 Subject: [PATCH 2/2] Update input_data.py --- input_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input_data.py b/input_data.py index d1d0d28e..0ebcbdad 100644 --- a/input_data.py +++ b/input_data.py @@ -90,7 +90,7 @@ def num_examples(self): def epochs_completed(self): return self._epochs_completed def next_batch(self, batch_size, fake_data=False): - """Return the next `batch_size` examples from this data set.""" + """Return the next `batch_size`examples from this data set.""" if fake_data: fake_image = [1.0 for _ in xrange(784)] fake_label = 0 @@ -141,4 +141,4 @@ class DataSets(object): data_sets.train = DataSet(train_images, train_labels) data_sets.validation = DataSet(validation_images, validation_labels) data_sets.test = DataSet(test_images, test_labels) - return data_sets \ No newline at end of file + return data_sets