Compare commits
10 Commits
214c6efce1
...
2b8b8a2097
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b8b8a2097 | ||
|
|
beac6b48e7 | ||
|
|
1efd28874c | ||
|
|
a8da047552 | ||
|
|
b73daee244 | ||
|
|
9821dade6e | ||
|
|
be67ff5ced | ||
|
|
980f81b9fa | ||
|
|
e68dead063 | ||
|
|
67711664c6 |
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"# ! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
@@ -2011,4 +2011,4 @@
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 4
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
@@ -827,7 +827,7 @@
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"The third image is built by adding 0.3 times the first one and 0.7 times the second. In this example, should the model predict \"church\" or \"gas station\"? The right answer is 30% church and 70% gas station, since that's what we'll get if we take the linear combination of the one-hot-encoded targets. For instance, suppose we have 10 classes and \"church\" is represented by the index 2 and \"gas station\" is reprsented by the index 7, the one-hot-encoded representations are:\n",
|
||||
"The third image is built by adding 0.3 times the first one and 0.7 times the second. In this example, should the model predict \"church\" or \"gas station\"? The right answer is 30% church and 70% gas station, since that's what we'll get if we take the linear combination of the one-hot-encoded targets. For instance, suppose we have 10 classes and \"church\" is represented by the index 2 and \"gas station\" is represented by the index 7, the one-hot-encoded representations are:\n",
|
||||
"```\n",
|
||||
"[0, 0, 1, 0, 0, 0, 0, 0, 0, 0] and [0, 0, 0, 0, 0, 0, 0, 1, 0, 0]\n",
|
||||
"```\n",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab kaggle waterfallcharts treeinterpreter dtreeviz\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook kaggle waterfallcharts treeinterpreter dtreeviz\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
@@ -2283,4 +2283,4 @@
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 2
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
19
README.md
19
README.md
@@ -1,20 +1,23 @@
|
||||
[](https://mybinder.org/v2/gh/fastai/fastbook/master)
|
||||
|
||||
[English](./README.md) / [Spanish](./README_es.md) / [Korean](./README_ko.md) / [Chinese](./README_zh.md) / [Bengali](./README_bn.md) / [Indonesian](./README_id.md) / [Italian](./README_it.md) / [Portuguese](./README_pt.md)
|
||||
[English](./README.md) / [Spanish](./README_es.md) / [Korean](./README_ko.md) / [Chinese](./README_zh.md) / [Bengali](./README_bn.md) / [Indonesian](./README_id.md) / [Italian](./README_it.md) / [Portuguese](./README_pt.md) / [Vietnamese](./README_vn.md)
|
||||
|
||||
# The fastai book
|
||||
|
||||
These notebooks cover an introduction to deep learning, [fastai](https://docs.fast.ai/), and [PyTorch](https://pytorch.org/). fastai is a layered API for deep learning; for more information, see [the fastai paper](https://www.mdpi.com/2078-2489/11/2/108). Everything in this repo is copyright Jeremy Howard and Sylvain Gugger, 2020 onwards.
|
||||
|
||||
These notebooks are used for [a MOOC](https://course.fast.ai) and form the basis of [this book](https://www.amazon.com/Deep-Learning-Coders-fastai-PyTorch/dp/1492045527), which is currently available for purchase. It does not have the same GPL restrictions that are on this draft.
|
||||
These notebooks are used for [a MOOC](https://course.fast.ai) and form the basis of [this book](https://www.amazon.com/Deep-Learning-Coders-fastai-PyTorch/dp/1492045527), which is currently available for purchase. It does not have the same GPL restrictions that are on this repository.
|
||||
|
||||
The code in the notebooks and python `.py` files is covered by the GPL v3 license; see the LICENSE file for details.
|
||||
|
||||
The remainder (including all markdown cells in the notebooks and other prose) is not licensed for any redistribution or change of format or medium, other than making copies of the notebooks or forking this repo for your own private use. No commercial or broadcast use is allowed. We are making these materials freely available to help you learn deep learning, so please respect our copyright and these restrictions.
|
||||
The code in the notebooks and python `.py` files is covered by the GPL v3 license; see the LICENSE file for details. The remainder (including all markdown cells in the notebooks and other prose) is not licensed for any redistribution or change of format or medium, other than making copies of the notebooks or forking this repo for your own private use. No commercial or broadcast use is allowed. We are making these materials freely available to help you learn deep learning, so please respect our copyright and these restrictions.
|
||||
|
||||
If you see someone hosting a copy of these materials somewhere else, please let them know that their actions are not allowed and may lead to legal action. Moreover, they would be hurting the community because we're not likely to release additional materials in this way if people ignore our copyright.
|
||||
|
||||
This is an early draft. If you get stuck running notebooks, please search the [fastai-dev forum](https://forums.fast.ai/c/fastai-users/fastai-dev/) for answers, and ask for help there if needed. Please don't use GitHub issues for problems running the notebooks.
|
||||
## Colab
|
||||
|
||||
Instead of cloning this repo and opening it on your machine, you can read and work with the notebooks using [Google Colab](https://research.google.com/colaboratory/). This is the recommended approach for folks who are just getting started -- there's no need to set up a Python development environment on your own machine, since you can just work directly in your web-browser.
|
||||
|
||||
You can open any chapter of the book in Colab by clicking on one of these links: [Introduction to Jupyter](https://colab.research.google.com/github/fastai/fastbook/blob/master/app_jupyter.ipynb) | [Chapter 1, Intro](https://colab.research.google.com/github/fastai/fastbook/blob/master/01_intro.ipynb) | [Chapter 2, Production](https://colab.research.google.com/github/fastai/fastbook/blob/master/02_production.ipynb) | [Chapter 3, Ethics](https://colab.research.google.com/github/fastai/fastbook/blob/master/03_ethics.ipynb) | [Chapter 4, MNIST Basics](https://colab.research.google.com/github/fastai/fastbook/blob/master/04_mnist_basics.ipynb) | [Chapter 5, Pet Breeds](https://colab.research.google.com/github/fastai/fastbook/blob/master/05_pet_breeds.ipynb) | [Chapter 6, Multi-Category](https://colab.research.google.com/github/fastai/fastbook/blob/master/06_multicat.ipynb) | [Chapter 7, Sizing and TTA](https://colab.research.google.com/github/fastai/fastbook/blob/master/07_sizing_and_tta.ipynb) | [Chapter 8, Collab](https://colab.research.google.com/github/fastai/fastbook/blob/master/08_collab.ipynb) | [Chapter 9, Tabular](https://colab.research.google.com/github/fastai/fastbook/blob/master/09_tabular.ipynb) | [Chapter 10, NLP](https://colab.research.google.com/github/fastai/fastbook/blob/master/10_nlp.ipynb) | [Chapter 11, Mid-Level API](https://colab.research.google.com/github/fastai/fastbook/blob/master/11_midlevel_data.ipynb) | [Chapter 12, NLP Deep-Dive](https://colab.research.google.com/github/fastai/fastbook/blob/master/12_nlp_dive.ipynb) | [Chapter 13, Convolutions](https://colab.research.google.com/github/fastai/fastbook/blob/master/13_convolutions.ipynb) | [Chapter 14, Resnet](https://colab.research.google.com/github/fastai/fastbook/blob/master/14_resnet.ipynb) | [Chapter 15, Arch Details](https://colab.research.google.com/github/fastai/fastbook/blob/master/15_arch_details.ipynb) | [Chapter 16, Optimizers and Callbacks](https://colab.research.google.com/github/fastai/fastbook/blob/master/16_accel_sgd.ipynb) | [Chapter 17, Foundations](https://colab.research.google.com/github/fastai/fastbook/blob/master/17_foundations.ipynb) | [Chapter 18, GradCAM](https://colab.research.google.com/github/fastai/fastbook/blob/master/18_CAM.ipynb) | [Chapter 19, Learner](https://colab.research.google.com/github/fastai/fastbook/blob/master/19_learner.ipynb) | [Chapter 20, conclusion](https://colab.research.google.com/github/fastai/fastbook/blob/master/20_conclusion.ipynb)
|
||||
|
||||
|
||||
## Contributions
|
||||
|
||||
If you make any pull requests to this repo, then you are assigning copyright of that work to Jeremy Howard and Sylvain Gugger. (Additionally, if you are making small edits to spelling or text, please specify the name of the file and a very brief description of what you're fixing. It's difficult for reviewers to know which corrections have already been made. Thank you.)
|
||||
|
||||
|
||||
33
README_vn.md
Normal file
33
README_vn.md
Normal file
@@ -0,0 +1,33 @@
|
||||
[](https://mybinder.org/v2/gh/fastai/fastbook/master)
|
||||
[English](./README.md) / [Spanish](./README_es.md) / [Korean](./README_ko.md) / [Chinese](./README_zh.md) / [Bengali](./README_bn.md) / [Indonesian](./README_id.md) / [Vietnamese](./README_vn.md)
|
||||
|
||||
# Cuốn sách fastai
|
||||
|
||||
Những notebooks này giới thiệu về học sâu, sử dụng [fastai](https://docs.fast.ai/) và [PyTorch](https://pytorch.org/). Fastai là một thư viện API cho học sâu; để biết thêm thông tin, hãy xem [fastai paper](https://www.mdpi.com/2078-2489/11/2/108). Mọi tài liệu trong repo này thuộc bản quyền của Jeremy Howard và Sylvain Gugger, từ năm 2020 trở đi.
|
||||
|
||||
Các notebooks được sử dụng cho khóa học online mở [a MOOC](https://course.fast.ai) và là nội dung cơ bản của cuốn [sách này](https://www.amazon.com/Deep-Learning-Coders-fastai-PyTorch/dp/1492045527), và hiện bạn có thể đặt mua. Cuốn sách này không có các hạn chế GPL giống như trong bản notebooks ở repo này.
|
||||
|
||||
Mã nguồn trong các notebooks và file python `.py` được đăng ký giấy phép GPL v3; chi tiết xem tại file LICENSE.
|
||||
|
||||
Những phần còn lại (bao gồm tất cả các markdown cells trong các notebooks cùng các nội dung khác) không được phép phân phối hoặc thay đổi định dạng hoặc phương tiện nào. Trừ trường hợp, bản sao của notebooks hoặc forking của notebooks này cho mục đích sử dụng cá nhân. Không được phép sử dụng notebooks cho mục đích thương mại hoặc quảng bá. Chúng tôi cung cấp miễn phí những tài liệu này để giúp bạn học về học sâu, vì vậy hãy tôn trọng bản quyền của chúng tôi và những hạn chế này.
|
||||
|
||||
Nếu bạn thấy ai đó lưu trữ bản sao của những tài liệu này ở một nơi khác, vui lòng cho họ biết rằng hành động của họ là không được phép và có thể dẫn đến hành động pháp lý. Hơn nữa, chúng sẽ gây tổn hại cho cộng đồng vì chúng tôi không có khả năng sẽ không tiếp tục phát hành tài liệu bổ sung theo cách này nếu mọi người bỏ qua bản quyền của chúng tôi.
|
||||
|
||||
Đây là một bản thảo draft. Nếu bạn gặp khó khăn khi chạy các notebooks, vui lòng tìm kiếm câu trả lời và yêu cầu trợ giúp nếu cần tại [diễn đàn fastai-dev](https://forums.fast.ai/c/fastai-users/fastai-dev/). Vui lòng không sử dụng GitHub cho các lỗi (issues) khi chạy notebooks.
|
||||
|
||||
Nếu bạn thực hiện bất kỳ pull requests nào đối với repo này, thì bạn đang chuyển nhượng bản quyền của nội dung đó cho Jeremy Howard và Sylvain Gugger. (Ngoài ra, nếu bạn thực hiện các chỉnh sửa nhỏ như về lỗi chính tả, vui lòng nêu rõ tên của tệp file văn bản và mô tả rất ngắn gọn về những gì bạn đang sửa. Bởi vì rất khó để reviewers biết bạn đã sửa những nơi nào. Xin cảm ơn!)
|
||||
|
||||
## Trích dẫn
|
||||
|
||||
Nếu bạn muốn trích dẫn cuốn sách, bạn có thể sử dụng như sau:
|
||||
|
||||
```
|
||||
@book{howard2020deep,
|
||||
title={Deep Learning for Coders with Fastai and Pytorch: AI Applications Without a PhD},
|
||||
author={Howard, J. and Gugger, S.},
|
||||
isbn={9781492045526},
|
||||
url={https://books.google.no/books?id=xd6LxgEACAAJ},
|
||||
year={2020},
|
||||
publisher={O'Reilly Media, Incorporated}
|
||||
}
|
||||
```
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"# ! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab kaggle waterfallcharts treeinterpreter dtreeviz\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook kaggle waterfallcharts treeinterpreter dtreeviz\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
@@ -319,8 +319,8 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"class ModelResetter(Callback):\n",
|
||||
" def begin_train(self): self.model.reset()\n",
|
||||
" def begin_validate(self): self.model.reset()"
|
||||
" def before_train(self): self.model.reset()\n",
|
||||
" def before_validate(self): self.model.reset()"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastai # upgrade fastai on colab\n",
|
||||
"! [ -e /content ] && pip install -Uqq fastbook\n",
|
||||
"import fastbook\n",
|
||||
"fastbook.setup_book()"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user