Visualizing activations with forward hooks (PyTorch)

  Рет қаралды 14,397

mildlyoverfitted

mildlyoverfitted

Күн бұрын

Пікірлер: 30
@amerel-samman9929
@amerel-samman9929 3 жыл бұрын
Only person to explain it properly. Make more videos please!
@mildlyoverfitted
@mildlyoverfitted 3 жыл бұрын
Thanks for your support:) Planning to make these videos every week.
@mohitlamba117
@mohitlamba117 2 жыл бұрын
Wonderful! I have gone through Hooks method by fastai and thought that's the best explanation. I was wrong. This one is.
@mildlyoverfitted
@mildlyoverfitted 2 жыл бұрын
Glad it was helpful!
@haswanthaekula7656
@haswanthaekula7656 3 жыл бұрын
Excellent video!! Never knew you can use forward hooks this way. Keep these unique and awesome videos coming.
@mildlyoverfitted
@mildlyoverfitted 3 жыл бұрын
Thank you! Appreciate it:)
@ayankashyap5379
@ayankashyap5379 3 жыл бұрын
I love your channel, its exactly what I was looking for!
@mildlyoverfitted
@mildlyoverfitted 3 жыл бұрын
Thank you! Glad you like it:)
@vijayabhaskar-j
@vijayabhaskar-j 3 жыл бұрын
Great video! Glad someone uploaded unique content.
@mildlyoverfitted
@mildlyoverfitted 3 жыл бұрын
Thank you! Appreciate it:)
@vishalgoklani
@vishalgoklani 3 жыл бұрын
thanks for sharing this video, it was very useful! It would also be useful to make a video on the register_backward_hook() so we could visualize gradient flow.
@mildlyoverfitted
@mildlyoverfitted 3 жыл бұрын
Thank you! Great idea!
@markomitrovic4925
@markomitrovic4925 Жыл бұрын
Thank you for the video, very helpful!
@mildlyoverfitted
@mildlyoverfitted Жыл бұрын
Happy you found it helpful!
@tirthasg
@tirthasg 2 ай бұрын
What font, and color theme are you using? Looks really nice!
@aarshchaube1705
@aarshchaube1705 3 жыл бұрын
I'm actually running out of ram when I try to get activations , ofc the number of samples is higher and so is the image size(224 x 224). Is there any efficient way ?
@mildlyoverfitted
@mildlyoverfitted 3 жыл бұрын
Interesting, I never had to deal with out of memory issues in this context. Can you run a standard forward pass without any hooks? Just FYI, there is a new feature in TorchVision that can be used as an alternative to forward hooks: pytorch.org/blog/FX-feature-extraction-torchvision/
@TheGanner1
@TheGanner1 2 жыл бұрын
thank you so much
@amitpandita8971
@amitpandita8971 3 жыл бұрын
Liked and attached hook to your videos ;)
@mildlyoverfitted
@mildlyoverfitted 3 жыл бұрын
Awesome thank you!
@talha_anwar
@talha_anwar 3 жыл бұрын
How to analyze these histogram
@mildlyoverfitted
@mildlyoverfitted 3 жыл бұрын
Great question! Personally, I use them to verify that the distribution of activations is reasonable. Let's say centered around zero and with some reasonable standard deviation. You can also create histograms of gradients to get an idea of whether the network is still learning or whether it is stuck.
@vishalgoklani
@vishalgoklani 3 жыл бұрын
@@mildlyoverfitted It would be useful to have a video showing the histogram of gradients so we could directly measure learning.
@jimmiemunyi
@jimmiemunyi 3 жыл бұрын
Thank you!
@mildlyoverfitted
@mildlyoverfitted 3 жыл бұрын
You're welcome!
Learn PyTorch for deep learning in a day. Literally.
25:36:58
Daniel Bourke
Рет қаралды 1,6 МЛН
Mocking neural networks: unit testing in deep learning
16:01
mildlyoverfitted
Рет қаралды 2,4 М.
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 121 МЛН
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 31 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 81 МЛН
The Sensory Neuron as a Transformer in PyTorch
50:34
mildlyoverfitted
Рет қаралды 3 М.
Custom optimizer in PyTorch
18:00
mildlyoverfitted
Рет қаралды 7 М.
Vision Transformers (ViT) pytorch code
16:11
Mashaan Alshammari
Рет қаралды 2,7 М.
PyTorch Hooks Explained - In-depth Tutorial
22:08
Elliot Waite
Рет қаралды 36 М.
Visualizing Convolutional Neural Networks | Layer by Layer
5:53
Let's build GPT: from scratch, in code, spelled out.
1:56:20
Andrej Karpathy
Рет қаралды 4,8 МЛН
Model Interpretability with Captum - Narine Kokhilkyan
8:19
Deep Visualization Toolbox
3:54
Jason Yosinski
Рет қаралды 261 М.
GradCAM Explained.
44:58
Jim Run
Рет қаралды 6 М.
7 PyTorch Tips You Should Know
17:12
Edan Meyer
Рет қаралды 21 М.