Learning

Generative AI
2,517,730 Views · 3 years ago

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

Generative AI
2,621,302 Views · 3 years ago

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

Generative AI
2,532,843 Views · 3 years ago

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

Generative AI
3,008,321 Views · 3 years ago

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

Generative AI
2,827,982 Views · 3 years ago

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

Generative AI
2,703,586 Views · 3 years ago

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

Generative AI
2,223,157 Views · 3 years ago

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

Generative AI
2,464,519 Views · 3 years ago

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

Generative AI
2,025,040 Views · 3 years ago

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

Generative AI
2,878,410 Views · 3 years ago

In this tutorial we show how to do transfer learning and fine tuning in Pytorch!

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
3,270,167 Views · 3 years ago

A video on how to undervolt which is especially useful for deep learning with multiple gpu setup/gaming/mining. Although since it's going to lower temps substantially I recommend it in general just for card longevity.

MSI Afterburner:
https://www.msi.com/page/afterburner

Unigine benchmark:
https://benchmark.unigine.com/

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

Timestamps:
0:00 - Introduction
0:15 - Why you should undervolt
1:57 - Undervolt vs Underclock
3:03 - Undervolting Guide
12:00 - Comparison & Improvements
12:38 - Ending

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

Full title: U-Net: Convolutional Networks for Biomedical Image Segmentation
Paper link: https://arxiv.org/abs/1505.04597

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,385,954 Views · 3 years ago

An example and walkthrough of how to code a simple neural network in the Pytorch-framework. Explaining it step by step and building the basic architecture of the fully connected network.

Written blogpost if you prefer to read:
https://aladdinpersson.medium.....com/pytorch-neural-n

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,994,058 Views · 3 years ago

In this video we go through how to code a simple rnn, gru and lstm example. Focus is on the architecture itself rather than the data etc. and we use the simple MNIST dataset for this example.

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,187,946 Views · 3 years ago

A cool project that completely removes watermarks, it's kind of an unethical application so I'm not sure if I will share the code for this one unfortunately. If you wanna see more machine learning projects let me know :)




Showing 206 out of 366