Learning

Generative AI
2,502,378 Views · 3 years ago

I was inspired to make these videos by this specialization: https://bit.ly/3SqLuA6

In this video we build a generative adversarial network based on convolutional neural networks and train it on the CelebA dataset. This is a huge improvement from the previous simple fully connected GAN implemented in previous videos.

DCGAN paper:
https://arxiv.org/abs/1511.06434

CelebA dataset used in video:
https://www.kaggle.com/dataset..../504743cb487a5aed565

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:26 - Quick Paper Recap
4:31 - Implementation of Discriminator
9:38 - Implementation of Generator
15:27 - Weight initialization and test model
19:09 - Setup of training
31:36 - Training on MNIST
32:20 - Modifications to CelebA dataset
33:52 - Training on CelebA and ending

Generative AI
2,961,372 Views · 3 years ago

Full title: RandAugment: Practical automated data augmentation with a reduced search space
Paper link: https://arxiv.org/abs/1909.13719

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

Generative AI
2,093,605 Views · 3 years ago

AI For Medicine Specialization: https://bit.ly/3yAPYgh

My review and thoughts of my experience doing this specialization by deeplearning.ai on Coursera. Let me know if you have any questions or if you have taken it please do share your thoughts as it could be useful for others considering it :)

Timestamps:
0:00 - Introduction
01:29 - Course Contents
11:25 - Prerequisites & thoughts
13:45 - Course Structure
18:45 - Few Details
20:57 - Summary & Rating

Generative AI
2,163,011 Views · 3 years ago

In this video we go through how to perform data augmentation on your dataset and show two ways of doing it. The primary method is by first having a TF Dataset and applying a map augment function that is applied to each image. The second method (on newer versions of TF 2.3.0) you can make it part of your model.

Links mentioned for docs mentioned in video:
https://www.tensorflow.org/api...._docs/python/tf/imag
https://www.tensorflow.org/api...._docs/python/tf/kera

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

Generative AI
2,897,872 Views · 3 years ago

I was inspired to make these videos by this specialization: https://bit.ly/3SqLuA6

Progressive Growing of GANs for Improved Quality, Stability, and Variation: https://arxiv.org/abs/1710.10196

#PaperReview #PaperExplained

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:34 - Overview
5:06 - Progressive growing
7:36 - MiniBatch Std
9:15 - Fading in new layers
13:37 - Normalization (PixelNorm & Eq. LR)
20:30 - Some results
20:55 - Implementations details
30:59 - Ending

Generative AI
2,436,188 Views · 3 years ago

I was inspired to make these videos by this specialization: https://bit.ly/3SqLuA6

In this video we take a look at a way of also deciding what the output from the GAN should be. Specifically the output is conditioned on the labels that we send in and as an example we take a look at training on MNIST (of course) ;) But these ideas extend to any dataset you're working with really!

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

▶️ 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

OUTLINE:
0:00 - Introduction
0:56 - Modifying Generator and Discriminator
6:58 - Modifying Gradient Penalty
7:35 - Modifying Training
10:43 - Evaluation & Ending

Generative AI
3,310,305 Views · 3 years ago

In this video we code the K-means clustering algorithm from scratch in the Python programming language. Below I link a few resources to learn more about K means clustering as well as to the Machine Learning Github repository where you can also find the code!

Resources to learn more about K means:
https://youtu.be/Ev8YbxPu_bQ (Watch the following lectures 13.2, 13.3, 13.4, 13.5 also)
http://cs229.stanford.edu/notes/cs229-notes7a.pdf

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

Generative AI
2,883,092 Views · 3 years ago

In this video I show you how to get even more flexibility during training and that is by creating the training loops from scratch. In many ways it's similar to customizing model.fit but here we are removing the model.fit API entirely.

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

Generative AI
2,324,241 Views · 3 years ago

Watch my previous video on the paper walkthrough to understand the theory behind VAEs. Hopefully you find the video useful to understand VAEs in depth! :)

Useful article on VAEs:
https://sannaperzon.medium.com..../paper-summary-varia

Timestamps:
0:00 - Introduction
2:45 - Model architecture
15:50 - Training loop
31:10 - Inference example
39:10 - Ending

Generative AI
2,570,990 Views · 3 years ago

I was inspired to make these videos by this specialization: https://bit.ly/3SqLuA6

In this video we implement WGAN and WGAN-GP in PyTorch. Both of these improvements are based on the loss function of GANs and focused specifically on improving the stability of training.

Resources and papers:
https://www.alexirpan.com/2017..../02/22/wasserstein-g
https://arxiv.org/abs/1701.07875
https://arxiv.org/abs/1704.00028

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:27 - Understanding WGAN
6:53 - WGAN Implementation details
9:15 - Coding WGAN
15:50 - Understanding WGAN-GP
18:48 - Coding WGAN-GP
25:29 - Ending

Generative AI
2,837,030 Views · 3 years ago

In this tutorial we build a Sequence to Sequence (Seq2Seq) with Transformers in Pytorch and apply it to machine translation on a dataset with German to English sentences, specifically the Multi30k dataset.

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:46 - Imports
1:56 - Data preprocessing
5:53 - Transformer network
15:50 - Setting up training phase
30:00 - Fixing errors
31:30 - Evaluating the model and BLEU score

Generative AI
3,089,342 Views · 3 years ago

In this video we will set up a Pytorch deep learning environment by installing Anaconda and PyCharm so that you have everything that you need so you can focus on the important stuff: coding and learning about machine learning! If you are just starting out then do not focus on the irrelevant parts, which is the IDE that you use etc. Just a small tip that I feel have benefited me :)

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

Generative AI
2,822,958 Views · 3 years ago

In this video we go through a bit more in depth into custom datasets and implement more advanced functions for dealing with text. Specifically we're looking at a image captioning dataset (Flickr8k data set) with an image and a corresponding caption text that describes what's going on in the image. I think the general principles from this video can be utilized to any project you're working with when dealing with text data be it either translation, question answering, sentiment analysis etc. I also recommend taking a look at my Torchtext which can also be quite helpful and simplify the data loading process.

✅ Support My Channel Through Patreon:
https://www.patreon.com/aladdinpersson

Flickr8k Dataset used in the video:
https://www.kaggle.com/dataset..../e1cd22253a9b23b0737

PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf

Github repository:
https://github.com/aladdinpers....son/Machine-Learning

OUTLINE:
0:00 - Introduction
2:05 - Overview of what we're going to do
4:05 - Imports
5:20 - Setup of Pytorch Dataset for loading Flickr
11:50 - Setup of Vocabulary and Numericalization
22:19 - Creating Collate for Padding of Batch
25:20 - Function for getting data loader
29:15 - Running code & fixing couple of errors
33:09 - Ending

Generative AI
2,407,492 Views · 3 years ago

In this video we learn about a very important object detection metric in Mean Average Precision (mAP) that is used to evaluate object detection models. In the first part of the video we try to understand how this method works and then move on to PyTorch to implement this from scratch.

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
0:09 - Explanation of mAP
8:19 - Implementation in PyTorch

Generative AI
2,301,171 Views · 3 years ago

In this video we learn how to build much more flexible models using keras subclassing. Previously we've seen how to use Sequential and Functional API and hopefully the example demonstrated in the video shows the power of subclassing. I show how to build a ResNet-like model with skip connections which wouldn't even be possible using the Sequential API.

Watch this video to understand ResNet:
https://youtu.be/ZILIbUvp5lk

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

Generative AI
2,472,044 Views · 3 years ago

In this video we go through how to code the LeNet architecture in Pytorch. Note that it isn't exactly identical as I've done some translation to a more modern architecture, like using relu instead of tanh.

Paper:
http://vision.stanford.edu/cs5....98_spring07/papers/L


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




Showing 201 out of 366