~/talk

Learn You a PyTorch!

Talkat PyCon AU 2017 · 2017-08-03..08-08· [machine-learning, python]
links:none on file
slides:none on file

Demo builds a small feedforward net and trains it while showing the concrete PyTorch workflows: a 28x28 → 32 → 10 network defined as nn.Module, move-to-GPU with .cuda() and simple multi-GPU via DataParallel, and conversion to/from NumPy with torch.from_numpy and .cpu().numpy. Data loading uses custom Dataset + DataLoader with multi-threaded transforms from torchvision transforms. Runtime benefits include a dynamic computation graph that lets one debug line-level errors, clip gradients, and hook Visdom for live visualization; API was still rapidly changing in 2017.

AI-written summary · about

  1. 0:00Intro
  2. 1:29What this talk covers
  3. 1:43What this talk isn't covering
  4. 2:05PyTorch - Thoughts
  5. 4:41API - Network Architecture 32 Hidden
  6. 6:48Multi GPU Support
  7. 7:09First Class Python Support
  8. 8:24Custom Dataset - Intro
  9. 8:58Custom Dataset - Implementation (Barebones)
  10. 10:04Custom Dataset Loader - Using Transforms
  11. 11:59Dynamic Graph Computation 6
  12. 13:00Dynamic Graph Computation - Why?
  13. 14:08Gradient Manipulation during Runtime
  14. 14:22How can I visualize my training output/progress?
  15. 15:26Summary - Non leaky API
  16. 16:02Questions?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.