RUVIDEO
Поделитесь видео 🙏

Cleaning code #2 - dog breed classifier notebook

Sheesh! Even messier! Watch me take detours to get rid of (most) Bash code and discover a very useful fast.ai function to download images directly.

0:00 - ? Hello
0:55 - ℹ️ Learning about Colab/Gdrive file system
4:03 - ℹ️ Mounting GDrive with code snippet (no need!)
6:45 - ℹ️ /content is Colab's default, non-persistent save folder
10:29 - ? Brainstorming how to best download files
11:48 - ? Saving files & creating folders with pathlib
15:57 - ? Download files using requests
18:08 - ? Debugging weird stealth character in URL
21:38 - ? More image downloading with requests
23:18 - ? Searching forums for showing binary image files and download widgets
26:53 - ? How GDrive mounting _actually_ happens!!!
28:14 - ? Searching for a missing widget
33:02 - ? Trying out open_image() for displaying images (but it's the OLD fast.ai v.1!!)
36:42 - ? Searching forums for image downloader code
38:30 - ? Figuring out download_images()
39:39 - ? Making the URL text file
40:57 - ? Fiddling with GDrive mounted folder
42:12 - ? Building and running image downloader via download_images()
44:00 - ? Clean up my clean-up code
47:38 - ? Clean up text cells from original notebook
52:51 - ? Downloading the Stanford Dog Breed dataset into the right folder
54:54 - ❓ Where did it go?
57:13 - ? Untar the tar file
1:05:00 - ? Won't clean the folder names...
1:05:59 - ? j+m just hacking their way through Jupyter
1:08:44 - ℹ️ Another way to show the docs: ??
1:10:30 - ? DataBlocks and data docs
1:11:48 - ? Looking at batch pics and image augmentation
1:14:15 - ? Starting the training
1:15:55 - ? Moving the function and cleaning prediction code
1:18:23 - ? Not adding a new folder to store all images
1:19:26 - ? Iterate over image files
1:22:55 - ℹ️ Why not to call the function in a loop (with my function code)
1:23:34 - ? Click clean delete cells...
1:26:36 - ? Training finished, fix your paths
1:27:31 - ? Classifying Regs (with pics!)
1:28:17 - ⚙️ Saving the cleaned notebook to GitHub

Course to follow along: http://bit.ly/fastaicourse

Github: http://bit.ly/nmgithub
Twitch: http://bit.ly/nmtwitch
Twitter: http://bit.ly/nmlearnstufftwitter

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Cleaning code #2 - dog breed classifier notebook», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.