Skip to content

Commit

Permalink
Update PerroMapacheGatoCocheDeploy.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankEscobar authored Feb 21, 2021
1 parent 4df9c4b commit e8008ec
Showing 1 changed file with 24 additions and 13 deletions.
37 changes: 24 additions & 13 deletions PerroMapacheGatoCocheDeploy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,37 @@
{
"cell_type": "code",
"execution_count": null,
"id": "mobile-mailing",
"id": "mental-dining",
"metadata": {},
"outputs": [],
"source": [
"#hide\n",
"!pip install -Uqq fastbook\n",
"!pip install voila\n",
"!jupyter serverextension enable --sys-prefix voila\n",
"import fastbook\n",
"fastbook.setup_book()\n",
"from fastbook import *\n",
"#!pip install -Uqq fastbook\n",
"#!pip install voila\n",
"#!jupyter serverextension enable --sys-prefix voila\n",
"#import fastbook\n",
"#fastbook.setup_book()\n",
"#from fastbook import *\n",
"#from fastai.vision.widgets import *\n",
"from fastai.vision.all import *\n",
"from fastai.vision.widgets import *"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "specific-connectivity",
"execution_count": null,
"id": "graphic-diana",
"metadata": {},
"outputs": [],
"source": [
"learn_inf = load_learner('export.pkl')"
"path = Path()\n",
"learn_inf = load_learner('export.pkl', cpu=True)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "initial-theater",
"id": "closed-drill",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -45,7 +48,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "invisible-grade",
"id": "incorporate-wonder",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -66,7 +69,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "composite-sauce",
"id": "phantom-investment",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -79,6 +82,14 @@
"VBox([widgets.Label('Selecciona tu cosa'), \n",
" btn_upload, btn_run, out_pl, lbl_prediction_a,lbl_prediction_b])"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "statewide-milton",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit e8008ec

Please sign in to comment.