Skip to content

Commit 208ae48

Browse files
committed
Added food aug
1 parent 4cfbc5b commit 208ae48

10 files changed

+3093
-82
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Ignore these files
22
/data
33
/logs
4-
4+
__MACOSX
55

66
# Created by https://www.gitignore.io/api/macos,python,jupyternotebook
77

@@ -139,4 +139,4 @@ venv.bak/
139139
.mypy_cache/
140140

141141

142-
# End of https://www.gitignore.io/api/macos,python,jupyternotebook
142+
# End of https://www.gitignore.io/api/macos,python,jupyternotebook

002-MLP-Fashion.ipynb renamed to 002-MLP-Fashion-Copy1.ipynb

Lines changed: 12 additions & 12 deletions
Large diffs are not rendered by default.

006-Data-Augmentation-Fashion.ipynb

Lines changed: 56 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
{
1414
"cell_type": "code",
15-
"execution_count": 24,
15+
"execution_count": 1,
1616
"metadata": {
1717
"colab": {
1818
"autoexec": {
@@ -42,7 +42,15 @@
4242
"id": "JGQqwCPRZheX",
4343
"outputId": "5946c5b4-c22b-4cd0-c30a-1377e3d0140d"
4444
},
45-
"outputs": [],
45+
"outputs": [
46+
{
47+
"name": "stderr",
48+
"output_type": "stream",
49+
"text": [
50+
"Using TensorFlow backend.\n"
51+
]
52+
}
53+
],
4654
"source": [
4755
"import numpy as np\n",
4856
"import keras\n",
@@ -62,17 +70,32 @@
6270
},
6371
{
6472
"cell_type": "code",
65-
"execution_count": 3,
73+
"execution_count": 2,
6674
"metadata": {},
67-
"outputs": [],
75+
"outputs": [
76+
{
77+
"name": "stdout",
78+
"output_type": "stream",
79+
"text": [
80+
"Downloading data from http://fashion-mnist.s3-website.eu-central-1.amazonaws.com/train-labels-idx1-ubyte.gz\n",
81+
"32768/29515 [=================================] - 0s 2us/step\n",
82+
"Downloading data from http://fashion-mnist.s3-website.eu-central-1.amazonaws.com/train-images-idx3-ubyte.gz\n",
83+
"26427392/26421880 [==============================] - 5s 0us/step\n",
84+
"Downloading data from http://fashion-mnist.s3-website.eu-central-1.amazonaws.com/t10k-labels-idx1-ubyte.gz\n",
85+
"8192/5148 [===============================================] - 0s 0us/step\n",
86+
"Downloading data from http://fashion-mnist.s3-website.eu-central-1.amazonaws.com/t10k-images-idx3-ubyte.gz\n",
87+
"4423680/4422102 [==============================] - 6s 1us/step\n"
88+
]
89+
}
90+
],
6891
"source": [
6992
"from keras.datasets import fashion_mnist\n",
7093
"(x_train, y_train), (x_test, y_test) = fashion_mnist.load_data()"
7194
]
7295
},
7396
{
7497
"cell_type": "code",
75-
"execution_count": 2,
98+
"execution_count": 3,
7699
"metadata": {},
77100
"outputs": [],
78101
"source": [
@@ -124,7 +147,7 @@
124147
},
125148
{
126149
"cell_type": "code",
127-
"execution_count": 10,
150+
"execution_count": 5,
128151
"metadata": {},
129152
"outputs": [],
130153
"source": [
@@ -133,7 +156,7 @@
133156
},
134157
{
135158
"cell_type": "code",
136-
"execution_count": 11,
159+
"execution_count": 6,
137160
"metadata": {},
138161
"outputs": [],
139162
"source": [
@@ -152,7 +175,7 @@
152175
},
153176
{
154177
"cell_type": "code",
155-
"execution_count": 12,
178+
"execution_count": 7,
156179
"metadata": {},
157180
"outputs": [],
158181
"source": [
@@ -169,7 +192,27 @@
169192
},
170193
{
171194
"cell_type": "code",
172-
"execution_count": 85,
195+
"execution_count": 12,
196+
"metadata": {},
197+
"outputs": [
198+
{
199+
"data": {
200+
"text/plain": [
201+
"(1, 28, 28, 1)"
202+
]
203+
},
204+
"execution_count": 12,
205+
"metadata": {},
206+
"output_type": "execute_result"
207+
}
208+
],
209+
"source": [
210+
"x_train_conv[:1].shape"
211+
]
212+
},
213+
{
214+
"cell_type": "code",
215+
"execution_count": 8,
173216
"metadata": {},
174217
"outputs": [],
175218
"source": [
@@ -178,7 +221,7 @@
178221
},
179222
{
180223
"cell_type": "code",
181-
"execution_count": 92,
224+
"execution_count": 9,
182225
"metadata": {},
183226
"outputs": [],
184227
"source": [
@@ -187,7 +230,7 @@
187230
},
188231
{
189232
"cell_type": "code",
190-
"execution_count": 105,
233+
"execution_count": 10,
191234
"metadata": {},
192235
"outputs": [
193236
{
@@ -4165,7 +4208,7 @@
41654208
"https://altair-viz.github.io/user_guide/troubleshooting.html\n"
41664209
]
41674210
},
4168-
"execution_count": 105,
4211+
"execution_count": 10,
41694212
"metadata": {},
41704213
"output_type": "execute_result"
41714214
}
@@ -21013,7 +21056,7 @@
2101321056
"name": "python",
2101421057
"nbconvert_exporter": "python",
2101521058
"pygments_lexer": "ipython3",
21016-
"version": "3.6.4"
21059+
"version": "3.6.6"
2101721060
}
2101821061
},
2101921062
"nbformat": 4,

007-MLP-CNN-DosaNoDosa-Copy1.ipynb

Lines changed: 1319 additions & 0 deletions
Large diffs are not rendered by default.

008-Data_Aug-DosaNoDosa-Copy1.ipynb

Lines changed: 760 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)