PyTorch Beginner Tutorial - Training an Image Classification Model and putting it online!

  Рет қаралды 33,925

Sebastian Schuchmann

Sebastian Schuchmann

3 жыл бұрын

In this tutorial we'll be training a Deep Learning Model with PyTorch 1.7 and FastAI in a beginner-friendly way. I will explain how to use Machine Learning and the basics about how it works. At the end you will have a public website up and running where your Model is deployed using Flask, Python and Docker.
Sorry for some of the audio issues!
*Links related to Tutorial*:
Github Link: github.com/Sebastian-Schuchma...
My example site: churros-or-samosa.site/
Distill Link (Visualizations): distill.pub/2017/feature-visu...
Docker Link: www.docker.com/products/docke...
Render Link: render.com
How to Git: support.gitkraken.com/start-h...
Book recommendation: www.oreilly.com/library/view/...
*Other Links*:
Support me on Patreon: www.patreon.com/user?u=25285137
ML-Agents Discord Channel: / discord
Keep in touch: / sebastianschuc7
*Timestamps*:
00:00: Intro
00:30: Downloading Dataset
02:44: How Neural Networks work
05:57: Training the Model
11:17: Inside a Neural Network
13:41: Exporting the Model
15:50: Building the Website
18:04 Deploying the Website

Пікірлер: 22
@markusbuchholz3518
@markusbuchholz3518 3 жыл бұрын
Awesome channel, consistent information and extraordinary performance. Great to be a part of this great community. I am very happy you Sebastian has created something specials. Thanks. Have a nice day!
@DodaGarcia
@DodaGarcia 3 жыл бұрын
I've been desperately looking for a legitimately beginner-friendly channel on machine learning, so glad I found yours!!
@corkfilms
@corkfilms 2 жыл бұрын
Great beginners tutorial . Thank you so much!
@chamber3593
@chamber3593 3 жыл бұрын
Thank you for this video, You make learning fun. Keep making such videos pls
@debarunkumer2019
@debarunkumer2019 3 жыл бұрын
Wow owow......u have implemented ur training model using the fastai framework. I just bunked in this video out of sheer luck. There is hardly any videos on cnn that trains a model using fastai framework. Please please upload more videos of this kind. Looking forward to it. Cheers!!!
@RockyMedure
@RockyMedure 3 жыл бұрын
Thank you so much for this video!!!
@tenzinnamdhak
@tenzinnamdhak 7 ай бұрын
When we upload the image of Churros, does the dimension has to be 224 x 224? Coz I just uploaded churros image of different dimension and it is giving me Samosa answer even though it is churro pic.
@samuelemonasterolo4634
@samuelemonasterolo4634 Жыл бұрын
Amazing🔥
@idleXgang
@idleXgang Жыл бұрын
Man you are awesome!
@nemoland426
@nemoland426 3 жыл бұрын
I've tried to use my own datasets but the error kept on coming up What could possibly go wrong here? #I only change the path dls = ImageDataLoaders.from_name_func( mixed_path, get_image_files(mixed_path), valid_pct=0.05, seed=420, label_func=GetLabel, item_tfms=Resize(256)) dls.train.show_batch() #That's the error TypeError Traceback (most recent call last) in () 1 dls = ImageDataLoaders.from_name_func( 2 mixed_path, get_image_files(mixed_path), valid_pct=0.05, seed=420, ----> 3 label_func=GetLabel, item_tfms=Resize(256)) 4 5 dls.train.show_batch() 9 frames /usr/local/lib/python3.6/dist-packages/fastai/data/core.py in setup(self, train_setup) 258 x = f(x) 259 self.types.append(type(x)) --> 260 types = L(t if is_listy(t) else [t] for t in self.types).concat().unique() 261 self.pretty_types = ' '.join([f' - {t}' for t in types]) 262 TypeError: 'NoneType' object is not iterable
@muhammaduseram9405
@muhammaduseram9405 5 ай бұрын
can we do this multiple like 9-10 classes?
@Qwernasivob
@Qwernasivob 3 жыл бұрын
Thank you!
@corkfilms
@corkfilms 2 жыл бұрын
Hi Sebastian. On my live server, Upload returns same image when classify button is pressed but no actual result. Is this an error in the code or have i missed a step?
@orsimhon133
@orsimhon133 3 жыл бұрын
We want more ML Agents :)
@skinnyboystudios9722
@skinnyboystudios9722 3 жыл бұрын
How many rtx3090s do you need to train your own AlphaZero in a , week, two weeks or a month?
@skinnyboystudios9722
@skinnyboystudios9722 3 жыл бұрын
@@sps014 Yes I already know that but you are not answering my question
@skinnyboystudios9722
@skinnyboystudios9722 3 жыл бұрын
@@sps014 can you show calculation that it is not possible or are you just guessing?
@skinnyboystudios9722
@skinnyboystudios9722 3 жыл бұрын
@@sps014 You are still not answering the question... If you don't know the answer why are you bothering answering and adding lot of noise to the simple question... Let me rephrase my question... Assuming you have a perfect model of Alpha Zero, the one David Silver built. How many gtx3090s do you need train the model in a week? How many do you need to train in two weeks? a month? I fully understand computer science so I do mind details. Thank you
@GamerAlphaInd
@GamerAlphaInd 3 жыл бұрын
This ain't good place to ask , get some brain.
@sonicdev599
@sonicdev599 3 жыл бұрын
Lol people still ask questions in comment section, lot of stupidity on display.
Building a Neural Network with PyTorch in 15 Minutes | Coding Challenge
20:34
Build Your First Pytorch Model In Minutes! [Tutorial + Code]
31:32
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 64 МЛН
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 6 МЛН
Image Classification Using Pytorch and Convolutional Neural Network
21:29
Scientific Concepts You're Taught in School Which are Actually Wrong
14:36
A.I. in Minecraft
9:20
Sebastian Schuchmann
Рет қаралды 54 М.
Why GPT-3 changes everything (and how it works)
13:09
Sebastian Schuchmann
Рет қаралды 35 М.
PyTorch in 100 Seconds
2:43
Fireship
Рет қаралды 874 М.
PyTorch Crash Course - Getting Started with Deep Learning
49:55
AssemblyAI
Рет қаралды 88 М.
Самые крутые школьные гаджеты
0:49
Easy Art with AR Drawing App - Step by step for Beginners
0:27
Melli Art School
Рет қаралды 15 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 59 МЛН
ГОСЗАКУПОЧНЫЙ ПК за 10 тысяч рублей
36:28
Ремонтяш
Рет қаралды 528 М.