This document summarizes a presentation on implementing deep learning papers from scratch using PyTorch. The presentation covers understanding papers theoretically by thoroughly reading them, and empirically through implementation. It advocates implementing object detection models from scratch to truly understand them. The presenters aim to implement popular object detection methods like YOLO from the ground up and share their experiences. Challenges like bugs during implementation are discussed. Advice like taking a long-term view and checking for common PyTorch mistakes are provided. Useful tools for implementation like Weights and Biases, imgaug, and Torch Summary are also introduced.
2024-05-14 - Tableau User Group - TC24 Hot Topics - Tableau Pulse and Einstei...
Pytorch kr devcon
1. Deep Learning Paper Implementation
From Scratch – Part 1
PyTorch KR DEVCON 2019
1
Jaewon Lee
(visionNoob )
covering joint work with:
Martin Hwang, Chanhee Jeong
PyTorch KR Tutorial Competition 2018 – runner-up presentation
3. 3
PyTorch KR Tutorial Competition 2018
-> “DeepBakSu Vision”
https://github.com/PyTorchKR/Tutorial-Competition-2018
머신러닝/딥러닝 논문의 핵심 내용을 잘 이해해서 설명하고,
그것을 PyTorch 코드로 간결하게 잘 구현한 튜토리얼을 작성해 보는 행사
Team
5. 5
Goodfellow, Ian, et al. Deep learning. Vol. 1. Cambridge: MIT press, 2016.
책를 읽는다
딥러닝을 배우고 싶은데 어떻게 해야 하나요?
6. 6Stanford CS231n - https://youtu.be/h7iBpEHGVNc
수업을 듣는다
딥러닝을 배우고 싶은데 어떻게 해야 하나요?
딥러닝 관련 온라인 동영상 강의 모음 (Vision & A.I. study) https://v-ais.github.io/study/2018/09/27/Data01/
PyTorch Zero To All - https://youtu.be/SKq-pmkekTk
7. 7
Stanford CS231n - https://youtu.be/h7iBpEHGVNc
수업을 듣는다
http://www.quickmeme.com/Andrew-ng
13. There is a difference between
knowing the path and walking the path
13
14. There is a difference between
knowing the path and walking the path
14
Understanding Theoretically Understanding Empirically
15. 15
What is truly understanding Deep Learning (models)?
Understanding Theoretically,
Understanding Empirically
이론을 잘 이해하고
구현도 할 줄 알아야 한다
16. 16
What is truly understanding Deep Learning (models)?
Understanding Theoretically,
Understanding Empirically
이론을 잘 이해하고
구현도 할 줄 알아야 한다
밑바닥부터 시작하는 딥러닝 논문 구현
with
대안은?
17. 17
모두를 위한 Object Detection
딥러닝 기반의 Object Detection 모델을
PyTorch로 밑바닥부터 구현해보고
그 경험을 사람들에게 널리 알리자!
Github : https://github.com/DeepBaksuVision
Gitbook : https://deepbaksuvision.github.io/Modu_ObjectDetection/
프로젝트명
38. Simple Sanity Check
for Common Mistakes in PyTorch
38
*37 Reasons why your Neural Network is not working
https://blog.slavv.com/37-reasons-why-your-neural-network-is-not-working-4020854bd607
https://twitter.com/karpathy/status/1013244313327681536
1) you didn't try to overfit a single batch first
2) you forgot to toggle train/eval mode for the net
3) you forgot to .zero_grad() (in pytorch) before .backward()
4) you passed softmaxed outputs to a loss that expects raw logits.
5) you didn't use bias=False for your Linear/Conv2d layer when using BatchNorm,
or conversely forget to include it for the output layer .
60. 60
2019년에는 와 함께..!
여러분이 선택한
optimizer,
learning rate,
batch size,
그 밖의 모든 hyperparameters와 더불어
여러분의 딥러닝 모델이 잘 수렴하길 기원하겠습니다 XD
행복하세요
Inspired by https://twitter.com/reza_zadeh?lang=ko