Latest videos
I was inspired to make these videos by this specialization: https://bit.ly/3SqLuA6
A clean, simple and readable implementation of SRGAN :)
Github: https://github.com/aladdinpers....son/Machine-Learning
GitHub Repository:
https://github.com/aladdinpersson/Mac...
✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpe...
❤️ Become a Channel Member:
https://www.youtube.com/channel/UCkzW...
✅ 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/aladdin-p...
Github - https://github.com/aladdinpersson
GAN Playlist:
https://youtube.com/playlist?list=PLh...
PyTorch Playlist:
https://www.youtube.com/playlist?list...
Timestamps:
0:00 - Introduction and Overview
1:40 - Model implementation
24:48 - VGG Loss Term
28:20 - Quick review of train, utils, config file
36:42 - Ending
In this video we go through how to code a simple bidirectional LSTM on the very simple dataset MNIST. The focus is just on creating the class for the bidirectional rnn rather than the entire training part which I have done in several previous videos.
Previous video where we create the general training structure:
https://youtu.be/Jy4wM2X21u0
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 video we read the original transformer paper "Attention is all you need" and implement it from scratch!
Attention is all you need paper:
https://arxiv.org/abs/1706.03762
A good blogpost on Transformers:
http://www.peterbloem.nl/blog/transformers
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:54 - Paper Review
11:20 - Attention Mechanism
27:00 - TransformerBlock
32:18 - Encoder
38:20 - DecoderBlock
42:00 - Decoder
46:55 - Putting it togethor to form The Transformer
52:45 - A Small Example
54:25 - Fixing Errors
56:44 - Ending
Semantic segmentation with U-NET implementation from scratch.
You'll learn about:
✔️How to implement U-Net
✔️Setting up training and everything else :)
Original paper: https://arxiv.org/abs/1505.04597
My paper review: https://youtu.be/oLvmLJkmXuc
✅ Dataset used: https://www.kaggle.com/c/carva....na-image-masking-cha
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
⌚️ Timestampo:
0:00 - Introduction
1:03 - Model from scratch
22:20 - Dataset from scratch
29:50 - Training from scratch
39:48 - Utils (almost) from scratch
50:10 - Evaluation and Ending
In this video I show how to implement linear regression using the normal equation. If you want to check out the derivation I made a blog post that you can check out: https://aladdinperzon.github.i....o/2020/03/25/Linear-
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
Facial Keypoint Detection Kaggle Competition Solution! This solution is very simple but gives arelatively okay score and I share some thoughts on how you could improve it further (comparing with the winning solution).
Code (go to ML, Kaggle subdirectory): https://github.com/aladdinpers....son/Machine-Learning
Kaggle: https://www.kaggle.com/c/facia....l-keypoints-detectio
Timestamps:
0:00 - Introduction to competition
0:52 - Why?
1:22 - The data and the task
3:13 - Metric used
3:43 - A more in depth look at the data
7:24 - The steps of the solution
10:00 - Code: config
13:00 - Code: dataset
18:52 - Code: split_data
20:32 - Understanding submission format
21:57 - Code: utils
26:07 - Code: train/main file
31:22 - Fixing a small error
32:05 - Checking the score of submission
32:40 - How to improve it further?
34:55 - My 2 things to try for improving the score
35:15 - Ending & my thoughts on Kaggle
In this video I show you the freakishly difficult task of setting up and installing the latest tensorflow version with GPU support on Windows 10 :)
GO HERE FIRST:
https://www.tensorflow.org/install/source#gpu
1. Microsoft Visual Studio
* https://visualstudio.microsoft.com/vs/community/
2. the NVIDIA CUDA Toolkit
* https://developer.nvidia.com/cuda-toolkit-archive
3. NVIDIA cuDNN
* https://developer.nvidia.com/cudnn
4. Python (check compatible version from first link)
conda create --name tf_2.4 python==3.8
5. Tensorflow (with GPU support)
pip install tensorflow
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
Welcome to the first tutorial in this TensorFlow 2.0 Beginner Course! In this video we install TensorFlow (with GPU or CPU) and setup a deep learning environment with Anaconda and PyCharm.
Google Colab:
https://colab.research.google.....com/notebooks/intro.
Installation of Anaconda and PyCharm:
https://www.anaconda.com/products/individual
https://www.jetbrains.com/pycharm/download/
Check GPU Compute Capability (TF needs 3.5 or higher):
https://developer.nvidia.com/cuda-gpus
Download NVIDIA Drivers:
https://www.nvidia.com/Download/index.aspx
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 I show you how to calculate the mean and std across multiple channels of the data you're working with which you will normally then use for normalization to obtain a 0 mean and standard deviation (std) of 1.
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
Let's say you have a model that is working but now you want to be able to save a checkpoint and load it to continue training at a later point. In this video I walkthrough an example of how to do it!
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
Albumentations is the way to go. I really like this library and I think you will too!
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
Image stolen from this awesome article:
https://medium.com/pytorch/mul....ti-target-in-albumen
Timestamps:
0:00 - Introduction
1:21 - Augmentation for Classification
9:11 - Augmentation for Segmentation
11:55 - Augmentation for Detection
21:35 - Full PyTorch Example
31:05 - Ending
Steps to get started:
1. Install miniconda
https://docs.conda.io/en/latest/miniconda.html
2. Clone or download Stable Diffusion:
https://github.com/CompVis/stable-diffusion
3. Download weights for model:
https://huggingface.co/CompVis..../stable-diffusion-v-
4. Run text2img or img2img script in conda terminal as shown in video. Example:
python scripts/txt2img.py --prompt "a photograph of an astronaut riding a horse" --plms
Timestamps:
0:00 - Introduction
1:36 - GitHub Repo
5:23 - Clone Repository
6:10 - Create conda env
6:45 - Running script
8:10 - Arguments
11:30 - Example run
12:40 - Image to image example
15:40 - Understanding scale and steps
18:10 - Removing safety lol
18:45 - Ending
How to implement YOLOv3 from scratch using Pytorch.
If you prefer to read instead of watch there is also a written article:
https://sannaperzon.medium.com..../yolov3-implementati
In this video we'll:
✔️ Recap of YOLO
✔️ YOLOv1 vs YOLOv3 differences
✔️ Implementing the architecture
✔️ Dataset loading of MSCOCO and Pascal VOC
✔️ Loss function
✔️ Setting up training
Original paper:
https://arxiv.org/abs/1804.02767
GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning
YOLOv3 repository:
https://bit.ly/3pIIXT8
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
⌚️ Timestampo:
0:00 - Introduction
0:50 - Recap of YOLO
6:10 - YOLOv3 vs YOLOv1
14:25 - Model implementation
47:20 - Dataset class
1:14:30 - Loss implementation
1:29:07 - Config file
1:34:24 - Training
1:51:05 - Ending
Just wanted to try making a video using 3b1b manim project, it was fun but difficult to learn :3 Probably a reason why it's only a 2 min video.. For more thorough derivation check my blog post https://aladdinperzon.github.i....o/2020/03/25/Linear-
Github:
https://github.com/aladdinpers....son/Machine-Learning
Oh boy. Hopefully this will leave you with a deep understanding of YOLO and how to implement it from scratch!
Download Dataset here:
https://www.kaggle.com/dataset..../734b7bcb7ef13a045cb
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:24 - Understanding YOLO
08:25 - Architecture and Implementation
32:00 - Loss Function and Implementation
58:53 - Dataset and Implementation
1:17:50 - Training setup & evaluation
1:40:58 - Thoughts and ending
In this video we have downloaded images online and store them in a folder together with a csv file and we want to load them efficiently with a custom Dataset in Pytorch.
Small Example of Dataset used in video:
https://www.kaggle.com/dataset..../c75fbba288ac0418f77
Dataset (All images but not with csv file so you have to create it youself):
https://www.kaggle.com/c/dogs-vs-cats/data
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