CasonMizu commited on
Commit
b6772c4
1 Parent(s): 5bceab6

Upgraded fastai version

Browse files
Files changed (1) hide show
  1. app.ipynb +32 -27
app.ipynb CHANGED
@@ -9,7 +9,7 @@
9
  },
10
  {
11
  "cell_type": "code",
12
- "execution_count": 45,
13
  "metadata": {},
14
  "outputs": [],
15
  "source": [
@@ -24,7 +24,7 @@
24
  },
25
  {
26
  "cell_type": "code",
27
- "execution_count": 46,
28
  "metadata": {},
29
  "outputs": [
30
  {
@@ -35,7 +35,7 @@
35
  "PILImage mode=RGB size=144x192"
36
  ]
37
  },
38
- "execution_count": 46,
39
  "metadata": {},
40
  "output_type": "execute_result"
41
  }
@@ -48,7 +48,7 @@
48
  },
49
  {
50
  "cell_type": "code",
51
- "execution_count": 47,
52
  "metadata": {},
53
  "outputs": [],
54
  "source": [
@@ -63,7 +63,7 @@
63
  },
64
  {
65
  "cell_type": "code",
66
- "execution_count": 48,
67
  "metadata": {},
68
  "outputs": [
69
  {
@@ -95,7 +95,14 @@
95
  },
96
  {
97
  "data": {
98
- "text/html": [],
 
 
 
 
 
 
 
99
  "text/plain": [
100
  "<IPython.core.display.HTML object>"
101
  ]
@@ -109,7 +116,7 @@
109
  "('False', tensor(0), tensor([0.9858, 0.0142]))"
110
  ]
111
  },
112
- "execution_count": 48,
113
  "metadata": {},
114
  "output_type": "execute_result"
115
  }
@@ -120,7 +127,7 @@
120
  },
121
  {
122
  "cell_type": "code",
123
- "execution_count": 49,
124
  "metadata": {},
125
  "outputs": [],
126
  "source": [
@@ -134,7 +141,7 @@
134
  },
135
  {
136
  "cell_type": "code",
137
- "execution_count": 50,
138
  "metadata": {},
139
  "outputs": [
140
  {
@@ -166,14 +173,7 @@
166
  },
167
  {
168
  "data": {
169
- "text/html": [
170
- "\n",
171
- " <div>\n",
172
- " <progress value='0' class='' max='1' style='width:300px; height:20px; vertical-align: middle;'></progress>\n",
173
- " 0.00% [0/1 00:00&lt;?]\n",
174
- " </div>\n",
175
- " "
176
- ],
177
  "text/plain": [
178
  "<IPython.core.display.HTML object>"
179
  ]
@@ -187,7 +187,7 @@
187
  "{'Dog': 0.9858279228210449, 'Cat': 0.01417205948382616}"
188
  ]
189
  },
190
- "execution_count": 50,
191
  "metadata": {},
192
  "output_type": "execute_result"
193
  }
@@ -198,15 +198,15 @@
198
  },
199
  {
200
  "cell_type": "code",
201
- "execution_count": 51,
202
  "metadata": {},
203
  "outputs": [
204
  {
205
  "name": "stdout",
206
  "output_type": "stream",
207
  "text": [
208
- "Running on local URL: http://127.0.0.1:7867\n",
209
- "Running on public URL: https://6d512f6527d3ef5868.gradio.live\n",
210
  "\n",
211
  "This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)\n"
212
  ]
@@ -215,7 +215,7 @@
215
  "data": {
216
  "text/plain": []
217
  },
218
- "execution_count": 51,
219
  "metadata": {},
220
  "output_type": "execute_result"
221
  }
@@ -233,7 +233,7 @@
233
  },
234
  {
235
  "cell_type": "code",
236
- "execution_count": 52,
237
  "metadata": {},
238
  "outputs": [],
239
  "source": [
@@ -242,7 +242,7 @@
242
  },
243
  {
244
  "cell_type": "code",
245
- "execution_count": 53,
246
  "metadata": {},
247
  "outputs": [],
248
  "source": [
@@ -251,7 +251,7 @@
251
  },
252
  {
253
  "cell_type": "code",
254
- "execution_count": 54,
255
  "metadata": {},
256
  "outputs": [
257
  {
@@ -274,7 +274,7 @@
274
  " requires_grad=True)"
275
  ]
276
  },
277
- "execution_count": 54,
278
  "metadata": {},
279
  "output_type": "execute_result"
280
  }
@@ -283,6 +283,11 @@
283
  "ps[1]"
284
  ]
285
  },
 
 
 
 
 
286
  {
287
  "cell_type": "markdown",
288
  "metadata": {},
@@ -292,7 +297,7 @@
292
  },
293
  {
294
  "cell_type": "code",
295
- "execution_count": 55,
296
  "metadata": {},
297
  "outputs": [
298
  {
 
9
  },
10
  {
11
  "cell_type": "code",
12
+ "execution_count": 1,
13
  "metadata": {},
14
  "outputs": [],
15
  "source": [
 
24
  },
25
  {
26
  "cell_type": "code",
27
+ "execution_count": 2,
28
  "metadata": {},
29
  "outputs": [
30
  {
 
35
  "PILImage mode=RGB size=144x192"
36
  ]
37
  },
38
+ "execution_count": 2,
39
  "metadata": {},
40
  "output_type": "execute_result"
41
  }
 
48
  },
49
  {
50
  "cell_type": "code",
51
+ "execution_count": 3,
52
  "metadata": {},
53
  "outputs": [],
54
  "source": [
 
63
  },
64
  {
65
  "cell_type": "code",
66
+ "execution_count": 4,
67
  "metadata": {},
68
  "outputs": [
69
  {
 
95
  },
96
  {
97
  "data": {
98
+ "text/html": [
99
+ "\n",
100
+ " <div>\n",
101
+ " <progress value='0' class='' max='1' style='width:300px; height:20px; vertical-align: middle;'></progress>\n",
102
+ " 0.00% [0/1 00:00&lt;?]\n",
103
+ " </div>\n",
104
+ " "
105
+ ],
106
  "text/plain": [
107
  "<IPython.core.display.HTML object>"
108
  ]
 
116
  "('False', tensor(0), tensor([0.9858, 0.0142]))"
117
  ]
118
  },
119
+ "execution_count": 4,
120
  "metadata": {},
121
  "output_type": "execute_result"
122
  }
 
127
  },
128
  {
129
  "cell_type": "code",
130
+ "execution_count": 5,
131
  "metadata": {},
132
  "outputs": [],
133
  "source": [
 
141
  },
142
  {
143
  "cell_type": "code",
144
+ "execution_count": 6,
145
  "metadata": {},
146
  "outputs": [
147
  {
 
173
  },
174
  {
175
  "data": {
176
+ "text/html": [],
 
 
 
 
 
 
 
177
  "text/plain": [
178
  "<IPython.core.display.HTML object>"
179
  ]
 
187
  "{'Dog': 0.9858279228210449, 'Cat': 0.01417205948382616}"
188
  ]
189
  },
190
+ "execution_count": 6,
191
  "metadata": {},
192
  "output_type": "execute_result"
193
  }
 
198
  },
199
  {
200
  "cell_type": "code",
201
+ "execution_count": 7,
202
  "metadata": {},
203
  "outputs": [
204
  {
205
  "name": "stdout",
206
  "output_type": "stream",
207
  "text": [
208
+ "Running on local URL: http://127.0.0.1:7863\n",
209
+ "Running on public URL: https://aae8e369bcb5d742e9.gradio.live\n",
210
  "\n",
211
  "This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)\n"
212
  ]
 
215
  "data": {
216
  "text/plain": []
217
  },
218
+ "execution_count": 7,
219
  "metadata": {},
220
  "output_type": "execute_result"
221
  }
 
233
  },
234
  {
235
  "cell_type": "code",
236
+ "execution_count": 8,
237
  "metadata": {},
238
  "outputs": [],
239
  "source": [
 
242
  },
243
  {
244
  "cell_type": "code",
245
+ "execution_count": 9,
246
  "metadata": {},
247
  "outputs": [],
248
  "source": [
 
251
  },
252
  {
253
  "cell_type": "code",
254
+ "execution_count": 10,
255
  "metadata": {},
256
  "outputs": [
257
  {
 
274
  " requires_grad=True)"
275
  ]
276
  },
277
+ "execution_count": 10,
278
  "metadata": {},
279
  "output_type": "execute_result"
280
  }
 
283
  "ps[1]"
284
  ]
285
  },
286
+ {
287
+ "cell_type": "markdown",
288
+ "metadata": {},
289
+ "source": []
290
+ },
291
  {
292
  "cell_type": "markdown",
293
  "metadata": {},
 
297
  },
298
  {
299
  "cell_type": "code",
300
+ "execution_count": 11,
301
  "metadata": {},
302
  "outputs": [
303
  {