Skip to content

Commit 9856f61

Browse files
committed
remove output
1 parent aad9dd0 commit 9856f61

File tree

1 file changed

+11
-81
lines changed

1 file changed

+11
-81
lines changed

LeNet-Lab-Solution.ipynb

Lines changed: 11 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,11 @@
2222
},
2323
{
2424
"cell_type": "code",
25-
"execution_count": 1,
25+
"execution_count": null,
2626
"metadata": {
2727
"collapsed": false
2828
},
29-
"outputs": [
30-
{
31-
"name": "stdout",
32-
"output_type": "stream",
33-
"text": [
34-
"Extracting MNIST_data/train-images-idx3-ubyte.gz\n",
35-
"Extracting MNIST_data/train-labels-idx1-ubyte.gz\n",
36-
"Extracting MNIST_data/t10k-images-idx3-ubyte.gz\n",
37-
"Extracting MNIST_data/t10k-labels-idx1-ubyte.gz\n"
38-
]
39-
}
40-
],
29+
"outputs": [],
4130
"source": [
4231
"from tensorflow.examples.tutorials.mnist import input_data\n",
4332
"\n",
@@ -59,7 +48,7 @@
5948
},
6049
{
6150
"cell_type": "code",
62-
"execution_count": 2,
51+
"execution_count": null,
6352
"metadata": {
6453
"collapsed": true
6554
},
@@ -109,7 +98,7 @@
10998
},
11099
{
111100
"cell_type": "code",
112-
"execution_count": 3,
101+
"execution_count": null,
113102
"metadata": {
114103
"collapsed": true
115104
},
@@ -181,7 +170,7 @@
181170
},
182171
{
183172
"cell_type": "code",
184-
"execution_count": 4,
173+
"execution_count": null,
185174
"metadata": {
186175
"collapsed": false
187176
},
@@ -204,7 +193,7 @@
204193
},
205194
{
206195
"cell_type": "code",
207-
"execution_count": 5,
196+
"execution_count": null,
208197
"metadata": {
209198
"collapsed": false
210199
},
@@ -232,7 +221,7 @@
232221
},
233222
{
234223
"cell_type": "code",
235-
"execution_count": 6,
224+
"execution_count": null,
236225
"metadata": {
237226
"collapsed": true
238227
},
@@ -266,61 +255,11 @@
266255
},
267256
{
268257
"cell_type": "code",
269-
"execution_count": 7,
258+
"execution_count": null,
270259
"metadata": {
271260
"collapsed": false
272261
},
273-
"outputs": [
274-
{
275-
"name": "stdout",
276-
"output_type": "stream",
277-
"text": [
278-
"Training...\n",
279-
"\n",
280-
"EPOCH 1 ...\n",
281-
"Validation Loss = 35.403\n",
282-
"Validation Accuracy = 0.878\n",
283-
"\n",
284-
"EPOCH 2 ...\n",
285-
"Validation Loss = 16.436\n",
286-
"Validation Accuracy = 0.920\n",
287-
"\n",
288-
"EPOCH 3 ...\n",
289-
"Validation Loss = 9.704\n",
290-
"Validation Accuracy = 0.939\n",
291-
"\n",
292-
"EPOCH 4 ...\n",
293-
"Validation Loss = 6.490\n",
294-
"Validation Accuracy = 0.949\n",
295-
"\n",
296-
"EPOCH 5 ...\n",
297-
"Validation Loss = 4.432\n",
298-
"Validation Accuracy = 0.958\n",
299-
"\n",
300-
"EPOCH 6 ...\n",
301-
"Validation Loss = 3.353\n",
302-
"Validation Accuracy = 0.962\n",
303-
"\n",
304-
"EPOCH 7 ...\n",
305-
"Validation Loss = 2.444\n",
306-
"Validation Accuracy = 0.968\n",
307-
"\n",
308-
"EPOCH 8 ...\n",
309-
"Validation Loss = 1.756\n",
310-
"Validation Accuracy = 0.973\n",
311-
"\n",
312-
"EPOCH 9 ...\n",
313-
"Validation Loss = 1.754\n",
314-
"Validation Accuracy = 0.971\n",
315-
"\n",
316-
"EPOCH 10 ...\n",
317-
"Validation Loss = 1.169\n",
318-
"Validation Accuracy = 0.978\n",
319-
"\n",
320-
"Model saved\n"
321-
]
322-
}
323-
],
262+
"outputs": [],
324263
"source": [
325264
"with tf.Session() as sess:\n",
326265
" sess.run(tf.global_variables_initializer())\n",
@@ -364,20 +303,11 @@
364303
},
365304
{
366305
"cell_type": "code",
367-
"execution_count": 8,
306+
"execution_count": null,
368307
"metadata": {
369308
"collapsed": false
370309
},
371-
"outputs": [
372-
{
373-
"name": "stdout",
374-
"output_type": "stream",
375-
"text": [
376-
"Test Loss = 3.046\n",
377-
"Test Accuracy = 0.962\n"
378-
]
379-
}
380-
],
310+
"outputs": [],
381311
"source": [
382312
"with tf.Session() as sess:\n",
383313
" loader = tf.train.import_meta_graph('lenet.meta')\n",

0 commit comments

Comments
 (0)