影片進階EN1.8 萬 次觀看
Lesson 14: Deep Learning Foundations to Stable Diffusion
看影片(在新分頁開啟原站)連到 YouTube・Jeremy Howard
摘要
Jeremy Howard 詳細解說神經網路訓練中的反向傳播數學原理與 PyTorch 實作。課程涵蓋如何從零開始重構程式碼,利用 nn.Module、nn.Sequential 及自訂最佳化器簡化流程,並深入探討 Dataset、DataLoader、取樣器與 Collate 函式的運作機制。最後介紹如何整合 Hugging Face 資料集與使用 nbdev 建立自訂程式庫。
Jeremy Howard explains the math behind backpropagation and demonstrates refactoring PyTorch code using custom modules, optimizers, and data loaders to build efficient training loops.
摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。
重點
- 從數學鏈式法則出發,深入理解反向傳播與梯度計算的實作細節。
- 重構 PyTorch 核心元件,包括自訂 Module、Optimizer 與 DataLoaders。
- 整合 Hugging Face 資料集並使用 nbdev 建立可重複使用的程式庫。
章節
依話題轉折切分,標題由 AI 產生
- 00:00Introduction
- 00:30Review of code and math from Lesson 13
- 07:40f-Strings
- 10:00Re-running the Notebook - Run All Above
- 11:00Starting code refactoring: torch.nn
- 12:48Generator Object
- 13:26Class MLP: Inheriting from nn.Module
- 17:03Checking the more flexible refactored MLP
- 17:53Creating our own nn.Module
- 21:38Using PyTorch’s nn.Module
- 23:51Using PyTorch’s nn.ModuleList
- 24:59reduce()
- 26:49PyThorch’s nn.Sequential
- 27:35Optimizer
- 29:37PyTorch’ optim and get_model()
- 30:04Dataset
- 33:29DataLoader
- 35:53Random sampling, batch size, collation
- 40:59What does collate do?
- 45:17fastcore’s store_attr()
- 46:07Multiprocessing DataLoader
- 50:36PyTorch’s Multiprocessing DataLoader
- 53:55Validation set
- 56:11Hugging Face Datasets, Fashion-MNIST
- 1:01:55collate function
- 1:04:41transforms function
- 1:06:47decorators
- 1:09:42itemgetter
- 1:11:55PyTorch’s default_collate
- 1:15:38Creating a Python library with nbdev
- 1:18:53Plotting images
- 1:21:14kwargs and fastcore’s delegates
- 1:28:03Computer Science concepts with Python: callbacks
- 1:33:40Lambdas and partials
- 1:36:26Callbacks as callable classes
- 1:37:58Multiple callback funcs; *args and **kwargs
- 1:43:15__dunder__ thingies
- 1:47:33Wrap-up
提到的工具與公司
- PyTorch
- Hugging Face datasets
適合誰看
希望深入理解 PyTorch 底層機制、從頭建構訓練迴路或開發自訂機器學習工具的開發者。
摘要依據
- 講者
- Jeremy Howard
- 依據
- 人工字幕
為什麼排在這裡
- 人氣
- 0.29
- 新鮮
- 0.01
在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算
相關內容
- Lesson 13: Deep Learning Foundations to Stable Diffusion影片 ・ Jeremy Howard ・ 1 小時 46 分 ・
- Lesson 15: Deep Learning Foundations to Stable Diffusion影片 ・ Jeremy Howard ・ 1 小時 37 分 ・
- Hands-On Evolution of Deep Learning – Geoffrey Hinton’s AI Legacy影片 ・ freeCodeCamp.org ・ 27 小時 27 分 ・
- How diffusion models work - explanation and code!影片 ・ Umar Jamil ・ 21 分鐘 ・
- Coding Stable Diffusion from scratch in PyTorch影片 ・ Umar Jamil ・ 5 小時 4 分 ・
- The Three Elements of PyTorch影片 ・ Sebastian Raschka ・ 57 分鐘 ・
這個來源最近的內容
摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)
