Skip to content

Commit

Permalink
colab
Browse files Browse the repository at this point in the history
  • Loading branch information
jph00 committed Apr 25, 2022
1 parent 4a9a281 commit a64c789
Show file tree
Hide file tree
Showing 43 changed files with 178 additions and 207 deletions.
14 changes: 1 addition & 13 deletions 01_intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"outputs": [],
"source": [
"#hide\n",
"!pip install -Uqq fastbook\n",
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
"import fastbook\n",
"fastbook.setup_book()"
]
Expand Down Expand Up @@ -2917,18 +2917,6 @@
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions 02_production.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"outputs": [],
"source": [
"#hide\n",
"# !pip install -Uqq fastbook\n",
"# ! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
"import fastbook\n",
"fastbook.setup_book()"
]
Expand Down Expand Up @@ -2011,4 +2011,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}
27 changes: 1 addition & 26 deletions 03_ethics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"outputs": [],
"source": [
"#hide\n",
"!pip install -Uqq fastbook\n",
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
"import fastbook\n",
"fastbook.setup_book()"
]
Expand Down Expand Up @@ -1054,31 +1054,6 @@
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.7"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": false,
"sideBar": true,
"skip_h1_title": true,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": false
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion 04_mnist_basics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"outputs": [],
"source": [
"#hide\n",
"!pip install -Uqq fastbook\n",
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
"import fastbook\n",
"fastbook.setup_book()"
]
Expand Down
76 changes: 32 additions & 44 deletions 05_pet_breeds.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
"cells": [
{
"cell_type": "code",
"execution_count": 134,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#hide\n",
"!pip install -Uqq fastbook\n",
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
"import fastbook\n",
"fastbook.setup_book()"
]
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -816,7 +816,7 @@
},
{
"cell_type": "code",
"execution_count": 113,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -826,7 +826,7 @@
},
{
"cell_type": "code",
"execution_count": 114,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -840,7 +840,7 @@
" [ 1.0698, 1.6187]])"
]
},
"execution_count": 114,
"execution_count": null,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -859,7 +859,7 @@
},
{
"cell_type": "code",
"execution_count": 115,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -873,7 +873,7 @@
" [0.7446, 0.8346]])"
]
},
"execution_count": 115,
"execution_count": null,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -895,7 +895,7 @@
},
{
"cell_type": "code",
"execution_count": 116,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -904,7 +904,7 @@
"tensor([0.6025, 0.5021, 0.1332, 0.9966, 0.5959, 0.3661])"
]
},
"execution_count": 116,
"execution_count": null,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -940,7 +940,7 @@
},
{
"cell_type": "code",
"execution_count": 117,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -954,7 +954,7 @@
" [0.3661, 0.6339]])"
]
},
"execution_count": 117,
"execution_count": null,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -1017,7 +1017,7 @@
},
{
"cell_type": "code",
"execution_count": 118,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -1033,7 +1033,7 @@
},
{
"cell_type": "code",
"execution_count": 119,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -1047,7 +1047,7 @@
" [0.3661, 0.6339]])"
]
},
"execution_count": 119,
"execution_count": null,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -1065,7 +1065,7 @@
},
{
"cell_type": "code",
"execution_count": 120,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -1074,7 +1074,7 @@
"tensor([0.6025, 0.4979, 0.1332, 0.0034, 0.4041, 0.3661])"
]
},
"execution_count": 120,
"execution_count": null,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -1093,7 +1093,7 @@
},
{
"cell_type": "code",
"execution_count": 136,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -1194,7 +1194,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -1203,7 +1203,7 @@
"tensor([-0.6025, -0.4979, -0.1332, -0.0034, -0.4041, -0.3661])"
]
},
"execution_count": 13,
"execution_count": null,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -1214,7 +1214,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -1223,7 +1223,7 @@
"tensor([-0.6025, -0.4979, -0.1332, -0.0034, -0.4041, -0.3661])"
]
},
"execution_count": 14,
"execution_count": null,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -1257,7 +1257,7 @@
},
{
"cell_type": "code",
"execution_count": 124,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -1308,7 +1308,7 @@
},
{
"cell_type": "code",
"execution_count": 132,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -1344,7 +1344,7 @@
},
{
"cell_type": "code",
"execution_count": 137,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -1472,7 +1472,7 @@
},
{
"cell_type": "code",
"execution_count": 128,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -1488,7 +1488,7 @@
},
{
"cell_type": "code",
"execution_count": 129,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -1497,7 +1497,7 @@
"tensor(1.8045)"
]
},
"execution_count": 129,
"execution_count": null,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -1515,7 +1515,7 @@
},
{
"cell_type": "code",
"execution_count": 130,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -1524,7 +1524,7 @@
"tensor(1.8045)"
]
},
"execution_count": 130,
"execution_count": null,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -1544,7 +1544,7 @@
},
{
"cell_type": "code",
"execution_count": 131,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -1553,7 +1553,7 @@
"tensor([0.5067, 0.6973, 2.0160, 5.6958, 0.9062, 1.0048])"
]
},
"execution_count": 131,
"execution_count": null,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -2726,18 +2726,6 @@
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit a64c789

Please sign in to comment.