brandonchiazzamodali commited on
Commit
e31c483
·
1 Parent(s): 6c49769

Add application files

Browse files
Files changed (4) hide show
  1. app.py +1 -1
  2. export.pkl +2 -2
  3. model.ipynb +9 -9
  4. models/export.pkl.pth +3 -0
app.py CHANGED
@@ -44,7 +44,7 @@ from pathlib import Path
44
 
45
 
46
  # %% model.ipynb 50
47
- learn_inf = load_learner(Path(".")/'model.pkl')
48
 
49
 
50
  # %% model.ipynb 54
 
44
 
45
 
46
  # %% model.ipynb 50
47
+ learn_inf = load_learner(Path(".")/'export.pkl')
48
 
49
 
50
  # %% model.ipynb 54
export.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:aaa62de0f64ebc013ee2ea70b2c1c19cf8b433271d0d3c649c13fe6bd08a77b3
3
- size 46973327
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9e803551e9de471e4f199c42335fe505d9e793020a4a95fd3ea58e31ca2cc8e
3
+ size 46973391
model.ipynb CHANGED
@@ -1221,22 +1221,22 @@
1221
  },
1222
  {
1223
  "cell_type": "code",
1224
- "execution_count": 46,
1225
  "metadata": {},
1226
  "outputs": [
1227
  {
1228
  "data": {
1229
  "text/plain": [
1230
- "(#2) [Path('export.pkl'),Path('model.pkl')]"
1231
  ]
1232
  },
1233
- "execution_count": 46,
1234
  "metadata": {},
1235
  "output_type": "execute_result"
1236
  }
1237
  ],
1238
  "source": [
1239
- "\n",
1240
  "learn.export(Path(\".\")/'export.pkl')\n",
1241
  "path = Path(\".\")\n",
1242
  "path.ls(file_exts='.pkl')\n"
@@ -1252,7 +1252,7 @@
1252
  },
1253
  {
1254
  "cell_type": "code",
1255
- "execution_count": 28,
1256
  "metadata": {},
1257
  "outputs": [],
1258
  "source": [
@@ -1351,7 +1351,7 @@
1351
  },
1352
  {
1353
  "cell_type": "code",
1354
- "execution_count": 31,
1355
  "metadata": {},
1356
  "outputs": [
1357
  {
@@ -1374,7 +1374,7 @@
1374
  "name": "stdout",
1375
  "output_type": "stream",
1376
  "text": [
1377
- "Running on local URL: http://127.0.0.1:7860\n",
1378
  "\n",
1379
  "Could not create share link, please check your internet connection.\n"
1380
  ]
@@ -1383,7 +1383,7 @@
1383
  "data": {
1384
  "text/plain": []
1385
  },
1386
- "execution_count": 31,
1387
  "metadata": {},
1388
  "output_type": "execute_result"
1389
  }
@@ -1400,7 +1400,7 @@
1400
  },
1401
  {
1402
  "cell_type": "code",
1403
- "execution_count": 32,
1404
  "metadata": {},
1405
  "outputs": [
1406
  {
 
1221
  },
1222
  {
1223
  "cell_type": "code",
1224
+ "execution_count": 49,
1225
  "metadata": {},
1226
  "outputs": [
1227
  {
1228
  "data": {
1229
  "text/plain": [
1230
+ "(#1) [Path('export.pkl')]"
1231
  ]
1232
  },
1233
+ "execution_count": 49,
1234
  "metadata": {},
1235
  "output_type": "execute_result"
1236
  }
1237
  ],
1238
  "source": [
1239
+ "learn.save('export.pkl')\n",
1240
  "learn.export(Path(\".\")/'export.pkl')\n",
1241
  "path = Path(\".\")\n",
1242
  "path.ls(file_exts='.pkl')\n"
 
1252
  },
1253
  {
1254
  "cell_type": "code",
1255
+ "execution_count": 50,
1256
  "metadata": {},
1257
  "outputs": [],
1258
  "source": [
 
1351
  },
1352
  {
1353
  "cell_type": "code",
1354
+ "execution_count": 51,
1355
  "metadata": {},
1356
  "outputs": [
1357
  {
 
1374
  "name": "stdout",
1375
  "output_type": "stream",
1376
  "text": [
1377
+ "Running on local URL: http://127.0.0.1:7861\n",
1378
  "\n",
1379
  "Could not create share link, please check your internet connection.\n"
1380
  ]
 
1383
  "data": {
1384
  "text/plain": []
1385
  },
1386
+ "execution_count": 51,
1387
  "metadata": {},
1388
  "output_type": "execute_result"
1389
  }
 
1400
  },
1401
  {
1402
  "cell_type": "code",
1403
+ "execution_count": 52,
1404
  "metadata": {},
1405
  "outputs": [
1406
  {
models/export.pkl.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70e920f29ccb70d4fec35c52239c207bf5205e0f1ca96810da1b3f5d9ea01a7d
3
+ size 140595727