Latest videos
In this video we look at ways to customize model behavior during training and testing using Keras Callbacks. Specifically we look at ways how to save model during training epochs, using a learning rate scheduler and an example of a simple custom callbacks.
I learned a lot and was inspired to make these TensorFlow videos by the TensorFlow Specialization on Coursera. Below you'll find both affiliate and non-affiliate links, the pricing for you is the same but a small commission goes back to the channel if you buy it through the affiliate link.
affiliate: https://bit.ly/3t3tgI5
non-affiliate: https://bit.ly/3kZgN5B
GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning
✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson
❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI
✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc
▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson
TensorFlow Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf
In this video we learn how to use various parts of TensorBoard to for example obtain loss plots, accuracy plots, visualize image data, confusion matrices, do hyperparameter search with hparams, use the projector embeddings and also the tensorflow profiler. So far in this tutorial series the main emphasis has been on building models and setting up training, but of course visualizing our models is a very important aspect which is why we focus on it thoroughly in this video.
I learned a lot and was inspired to make these TensorFlow videos by the TensorFlow Specialization on Coursera. Below you'll find both affiliate and non-affiliate links, the pricing for you is the same but a small commission goes back to the channel if you buy it through the affiliate link.
affiliate: https://bit.ly/3t3tgI5
non-affiliate: https://bit.ly/3kZgN5B
GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning
✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson
❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI
✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc
▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson
TensorFlow Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf
OUTLINE:
0:00 - Introduction and overview
5:52 - Starter Code
8:40 - TensorBoard Callbacks
14:02 - Plots in Scalars Tab
22:00 - Visualizing Images
33:40 - Confusion Matrix
45:24 - Graphs
49:36 - HParams
1:01:12 - Projector
1:15:59 - TensorFlow Profiler
1:22:30 - Ending & Outro
I was inspired to make these videos by this specialization: https://bit.ly/3SqLuA6
A clean, simple and readable implementation including pretrained weights available on the Github repository if you'd like to evaluate the model :)
GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning
✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson
❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI
✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc
▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
Github - https://github.com/aladdinpersson
GAN Playlist:
https://youtube.com/playlist?l....ist=PLhhyoLH6IjfwIp8
PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf
Timestamps:
0:00 - Introduction
0:12 - Pix2Pix Summary
5:54 - Results of implementation
8:45 - Outline for implementation
9:25 - Discriminator model
20:18 - Generator model
34:55 - Dataset loading
44:30 - Train file
1:01:38 - Ending
In this video I show you 10 common Pytorch mistakes and by avoiding these you will save a lot time on debugging models. This was inspired by a tweet by Andrej Karpathy and that's why I said it was approved by him :)
Andrej Karpathy Tweet:
https://twitter.com/karpathy/s....tatus/10132443133276
People often ask what courses are great for getting into ML/DL and the two I started with is ML and DL specialization both by Andrew Ng. Below you'll find both affiliate and non-affiliate links if you want to check it out. The pricing for you is the same but a small commission goes back to the channel if you buy it through the affiliate link.
ML Course (affiliate): https://bit.ly/3qq20Sx
DL Specialization (affiliate): https://bit.ly/30npNrw
ML Course (no affiliate): https://bit.ly/3t8JqA9
DL Specialization (no affiliate): https://bit.ly/3t8JqA9
GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning
✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson
❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI
✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc
▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson
PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf
OUTLINE:
0:00 - Introduction
0:21 - 1. Didn't overfit batch
2:45 - 2. Forgot toggle train/eval
4:47 - 3. Forgot .zero_grad()
6:15 - 4. Softmax when using CrossEntropy
8:09 - 5. Bias term with BatchNorm
9:54 - 6. Using view as permute
12:10 - 7. Incorrect Data Augmentation
14:19 - 8. Not Shuffling Data
15:28 - 9. Not Normalizing Data
17:28 - 10. Not Clipping Gradients
18:40 - Which ones did I miss?
#shorts #machinelearning #deeplearning
How I increased my testosterone levels from 380 ng/dl (first test), 480 ng/dl (second test) to 836 ng/dl in less than a year, naturally, so about a 2x increase. After reading a few studies on how testosterone is a hormone linked to greater resilience, higher drive, physical recovery, stress tolerance, and energy levels I was intrigued to do an experiment if it would help me. Note: I did not only introduce supplements, but also improved sleep etc at the same time. Causality is hard, but I do believe the supplements have helped increase my testosterone, my estimate is at least ~200 total increase from supplements. I encourage you to do blood test before and after to confirm that it works though as I am only n=1. Evaluating your own resilience, drive, energy level etc is a lot harder and what is even harder is determining causality. I am careful to say it has made any difference for me personally: I don't know, but at least I can say I am stronger in the gym :)
Meta review mentioned in video: https://www.mdpi.com/2673-396X/2/2/11/htm
Good video on testosterone: https://youtu.be/BtHg1AJwOzs
The exact supplements I take (I ordered from amazon DE):
Ashwaganda (500mg per capsule, 2x daily, once earlier in the day and once taken before bed): https://amzn.to/3UAWdJF
D Vitamin (5000 IU daily, taken with food): https://amzn.to/3E7T39b
Zinc Bisglycinate (25mg daily): https://amzn.to/3g4UGwl
Magnesium Bisglycinate (300mg, 2 capsules before bed): https://amzn.to/3TC344n
Creatine Monohydrate (5g a day): https://amzn.to/3UzPkrP
Fenugreek (650 mg a day, 2 capsules): https://amzn.to/3AeLNHj
Boron (6 to 9mg a day, 2-3 capsules): https://amzn.to/3hA3SJr
Fadogia Agrestis (300 to 600mg daily, 1-2 capsules): https://amzn.to/3UVqrqx
Tongkat Ali (500mg daily, 1 capsule): https://amzn.to/3EFJmR3
I also take these for improved sleep:
L-theanine (200-400mg, ~30 minutes before bed): https://amzn.to/3trKwsM
Melatonin (0.5mg, ~30 minutes before bed, I use maybe 3x a week): https://amzn.to/3Ah7HK9
Magnesium bisglycinate(~ 30 minutes before bed): mentioned above already
Apigenin (50mg, 1 capsule, ~ 30 minutes before bed): https://amzn.to/3gbSTFI
Others:
Omega 3 (4-5 capsules, 2-2.5gram EPA a day, note this is not triglyceride formula so take with foods and store in freezer/fridge): https://amzn.to/3hHZMPs
Icing testicles (free): 15 min/day before bed while reading. Lol :)
*Disclaimer: This video or video description contains affiliate links. That means that I am awarded a small commission for purchases made through them, at no added cost for you.
Timestamps:
0:00 - Introduction
1:09 - Bloodwork result
3:07 - Why do you want to increase it?
6:18 - General advice (Notes) from Huberman to increase it
7:45 - Thoughts on diet
9:30 - Supplements meta review
11:00 - Magnesium Bisglycinate
11:51 - Tonkat Ali (huberman talks a lot about this)
13:30 - Boron for lowering SHBG
15:23 - Ashwaganda
16:30 - Fenugreek
17:00 - Additional supplements that was not included in meta review
17:54 - Other interesting avenue, that's free :) (icing)
21:47 - Summary and why you (most likely) do not need lifelong TRT
In this video we look at an example of how to performs tranformations on images in Pytorch. This idea of expanding your dataset with transformed images is called data augmentation and is a very popular and effective method for achieving better performance.
People often ask what courses are great for getting into ML/DL and the two I started with is ML and DL specialization both by Andrew Ng. Below you'll find both affiliate and non-affiliate links if you want to check it out. The pricing for you is the same but a small commission goes back to the channel if you buy it through the affiliate link.
ML Course (affiliate): https://bit.ly/3qq20Sx
DL Specialization (affiliate): https://bit.ly/30npNrw
ML Course (no affiliate): https://bit.ly/3t8JqA9
DL Specialization (no affiliate): https://bit.ly/3t8JqA9
GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning
✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson
❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI
✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc
▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson
PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf
In this tutorial we go through the essentials of neural style transfer and code it from scratch in Pytorch.
Paper:
https://arxiv.org/abs/1508.06576
Resources (Lectures by Andrew Ng):
https://youtu.be/R39tWYYKNcI (Part 1)
https://youtu.be/ChoV5h7tw5A (Part 2)
https://youtu.be/xY-DMAJpIP4 (Part 3)
https://youtu.be/b1I5X3UfEYI (Part 4)
Also looked at:
https://github.com/yunjey/pytorch-tutorial
People often ask what courses are great for getting into ML/DL and the two I started with is ML and DL specialization both by Andrew Ng. Below you'll find both affiliate and non-affiliate links if you want to check it out. The pricing for you is the same but a small commission goes back to the channel if you buy it through the affiliate link.
ML Course (affiliate): https://bit.ly/3qq20Sx
DL Specialization (affiliate): https://bit.ly/30npNrw
ML Course (no affiliate): https://bit.ly/3t8JqA9
DL Specialization (no affiliate): https://bit.ly/3t8JqA9
GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning
✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson
❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI
✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc
▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson
PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf
OUTLINE:
0:00 - Introduction
0:49 - Explanation of NST (Neural Style Transfer)
5:21 - Coding NST from scratch
23:00 - Training and Results
23:34 - The reason you're here
In this video we try to understand and implement another very important object detection metric in non max suppression.
GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning
✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson
❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI
✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc
▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson
Object Detection Playlist:
https://youtube.com/playlist?l....ist=PLhhyoLH6Ijfw0Tp
PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf
OUTLINE:
0:00 - Introduction
0:44 - Explanation of NMS
4:55 - Implementation in PyTorch
FP16 approximately doubles your VRAM and trains much faster on newer GPUs. I think everyone should use this as a default.
GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning
✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson
❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI
✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc
▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf
👋 CONNECT WITH ME:
Twitter ► https://twitter.com/aladdinperzon
LinkedIn ► https://www.linkedin.com/in/al....addin-persson-a95384
GitHub ► https://github.com/aladdinpersson
I was inspired to make these videos by this specialization: https://bit.ly/3SqLuA6
In this video we look at some of the impressive applications of GANs and really understand why these networks are awesome. We also understand and explain how GANs work and try to dissect the loss function which will together build a foundation so that we can start implementing these networks in upcoming videos.
GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning
GAN Playlist:
https://youtube.com/playlist?l....ist=PLhhyoLH6IjfwIp8
PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf
OUTLINE:
0:00 - Introduction
0:49 - Why GANs are awesome
4:53 - How GANs work
11:45 - Ending
In this video I show you how to code DCGAN in TensorFlow. Code reference for the video: https://keras.io/examples/gene....rative/dcgan_overrid although honestly I pretty much changed all of the code...
GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning
✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson
❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI
✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc
▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson
TensorFlow Playlist:
https://youtube.com/playlist?l....ist=PLhhyoLH6IjfxVOd
A clean, simple and readable from scratch implementation of the EfficientNet architecture (B0-B7) using the PyTorch library.
Original paper:
https://arxiv.org/abs/1905.11946
GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning
✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson
❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI
✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc
▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
Github - https://github.com/aladdinpersson
PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf
Timestamps:
0:00 - Introduction
0:45 - Imports
1:00 - Architecture config
6:10 - Implementation Structure
7:10 - CNNBlock
10:10 - SqueezeExcitation
13:05 - InvertedResidualBlock (w. Stocasthic depth)
23:44 - EfficientNet
36:22 - Running a small test case
37:55 - Ending
In this video we understand how intersection over union works and we also implement it in PyTorch. This is a very important metric to understand when it comes to object detection as it is used pretty much all the time.
GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning
✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson
❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI
✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc
▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson
Object Detection Playlist:
https://youtube.com/playlist?l....ist=PLhhyoLH6Ijfw0Tp
PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf
0:00 - Introduction
01:12 - Explanation of IOU
09:52 - Coding in PyTorch
Sharing some thoughts about the channel and what it could be more long term, really appreciate the support from you guys.
GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning
✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson
❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI
✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc
▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson
In this video I show an example of how to specify custom weight initialization for a simple network.
Pytorch init docs:
https://pytorch.org/docs/stable/nn.init.html
People often ask what courses are great for getting into ML/DL and the two I started with is ML and DL specialization both by Andrew Ng. Below you'll find both affiliate and non-affiliate links if you want to check it out. The pricing for you is the same but a small commission goes back to the channel if you buy it through the affiliate link.
ML Course (affiliate): https://bit.ly/3qq20Sx
DL Specialization (affiliate): https://bit.ly/30npNrw
ML Course (no affiliate): https://bit.ly/3t8JqA9
DL Specialization (no affiliate): https://bit.ly/3t8JqA9
GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning
✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson
❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI
✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc
▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson
PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf