How To Deploy Machine Learning Models Using FastAPI-Deployment Of ML Models As API’s

  Рет қаралды 119,210

Krish Naik

Krish Naik

3 жыл бұрын

github :github.com/krishnaik06/FastAPI
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.Sebastian is the creator of FastAPI, an open-source Python web framework for building production-ready APIs quickly and easily: with autocompletion everywhere in your editor, automatic type checks, as little code as possible, automatic API documentation, and several other features.
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for a few months and I love it! www.kite.com/get-kite/?...
All Playlist In My channel
FASTAPI playlist: • FastAPI Deployment Tut...
Interview Playlist: • Machine Learning Inter...
Complete DL Playlist: • Complete Road Map To P...
Julia Playlist: • Tutorial 1- Introducti...
Complete ML Playlist : • Complete Machine Learn...
Complete NLP Playlist: • Natural Language Proce...
Docker End To End Implementation: • Docker End to End Impl...
Live stream Playlist: • Pytorch
Machine Learning Pipelines: • Docker End to End Impl...
Pytorch Playlist: • Pytorch
Feature Engineering : • Feature Engineering
Live Projects : • Live Projects
Kaggle competition : • Kaggle Competitions
Mongodb with Python : • MongoDb with Python
MySQL With Python : • MYSQL Database With Py...
Deployment Architectures: • Deployment Architectur...
Amazon sagemaker : • Amazon SageMaker
Please donate if you want to support the channel through GPay UPID,
Gpay: krishnaik06@okicici
Telegram link: t.me/joinchat/N77M7xRvYUd403D...
Please join as a member in my channel to get additional benefits like materials in Data Science, live streaming for Members and many more
/ @krishnaik06
Please do subscribe my other channel too
/ @krishnaikhindi
Connect with me here:
Twitter: / krishnaik06
Facebook: / krishnaik06
instagram: / krishnaik06
#FASTAPI

Пікірлер: 83
@nginfrared
@nginfrared 3 жыл бұрын
I stumbled upon your channel and I think it is one of the best things I have seen recently. Thank you for making things so simple to understand.
@soudaminipanda
@soudaminipanda 2 жыл бұрын
Very good explanation. Detail oriented and covering all necessary details. Great Video.
@shivadumnawar7741
@shivadumnawar7741 3 жыл бұрын
This tutorial helped me in right time. Thank you krish sir.
@user-or7ji5hv8y
@user-or7ji5hv8y 3 жыл бұрын
This is so clear. Great example.
@meshachdamilare
@meshachdamilare 3 жыл бұрын
Thanks sir for all you do. I hope the next video on this series will be on deploying machine learning model on cloud platform usingfastapi
@saidurgakameshkota1246
@saidurgakameshkota1246 3 жыл бұрын
Excellent tutorial krish. Please continue incremental learning playlist
@anindhamahalanabish9351
@anindhamahalanabish9351 3 жыл бұрын
learned a lot from you waiting for your next video
@ShashankGurnalkar
@ShashankGurnalkar 2 жыл бұрын
Thank you for the session. Question: how to work with pydantic when we need to handle exceptions? For example right now you are taking 4 features, but what if any feature is missing in the input?
@kavithamangalagiri2495
@kavithamangalagiri2495 Жыл бұрын
In detailed explanation. Thank you sir.
@footballforfun2054
@footballforfun2054 3 жыл бұрын
thank you, I always wanted to learn fastAPI. DREAM COME TRUE. Pls.... make ur nxt video soon, I want to learn how to connect API with front-end
@ShahnawazKhan-xl6ij
@ShahnawazKhan-xl6ij 3 жыл бұрын
Great sir Fast Api is much simple than Flask Frame work
@SauravdasDas
@SauravdasDas 3 күн бұрын
thanks for guidance..i'll apply your approach
@replicasensei1204
@replicasensei1204 2 жыл бұрын
Thank you for this tutorial
@zoroXgamings
@zoroXgamings 3 жыл бұрын
done with my TensorFlow deep learning model for custom image classification , created fast API to test it in local, now time to deploy it in AWS
@natwarkrishna2978
@natwarkrishna2978 3 жыл бұрын
How to do that bro
@atharvagangshettiwar8920
@atharvagangshettiwar8920 Жыл бұрын
Really thanks!!
@user-or7ji5hv8y
@user-or7ji5hv8y 3 жыл бұрын
What do you recommend if you also want to incorporate html and css? Python Eel?
@saidurgakameshkota1246
@saidurgakameshkota1246 3 жыл бұрын
Asynchronous server gateway interface
@sureshnathann8360
@sureshnathann8360 3 жыл бұрын
Very nice subject
@ajanieniola9172
@ajanieniola9172 3 жыл бұрын
Can we use file up to predict if it's a bank note through the api
@shaonsikder556
@shaonsikder556 3 жыл бұрын
What if I want to pass image in POST? what will be basmodel function then?
@zulfiqarali-zq1rg
@zulfiqarali-zq1rg 2 жыл бұрын
You are great sir
@ankitmehra16
@ankitmehra16 Жыл бұрын
very very helpful
@snehitvaddi
@snehitvaddi 3 жыл бұрын
Krish, will Pickle file format works for Keras CNN's aswell??
@MrAyandebnath
@MrAyandebnath 3 жыл бұрын
I saved my model in h5 format. Now I want load the model using "model=tf.keras.models.load_model(filepath.h5)" in FastAPI. But I am getting error while running API using conda virtual env. What should I do? @Krish
@mdmoinuddinkamal3412
@mdmoinuddinkamal3412 5 ай бұрын
very good session .greet like as boos ...
@ultrainstinctcoder6126
@ultrainstinctcoder6126 3 ай бұрын
good video just one question what to do when you have large json file with same data how to talk with API when you have a lot of client
@sankaraveld2091
@sankaraveld2091 2 жыл бұрын
how can we store the predicted values in database?can somebody please help with thiz?
@harishnagpal21
@harishnagpal21 3 жыл бұрын
Hi Krish. Nice video. One query, you created the model in Jupyter note book. How did you take that to FAST API. Do we need to make a pickle file and then use in in FAST API? Thanks
@anshXR
@anshXR 2 жыл бұрын
Yup. First save the model as a pickle file then u can use it in FastAPI by importing pickle
@bidemiaduke5160
@bidemiaduke5160 Жыл бұрын
Thank you Krish for all your tutorials. Please, can someone help me. I made machine learning models in its own environment in anaconda and I want to deploy them using flask but I cant get either pickle or joblib to work in anaconda environment. Does anyone know what I'm doing wrong please?
@mohdabdulazeem4863
@mohdabdulazeem4863 3 жыл бұрын
Sir can you please help us in knowing how to consume this api in other applications??
@s.husain6125
@s.husain6125 3 жыл бұрын
Verry nice sir how to depoly cotton disease prediction model using fast api
@rajav4144
@rajav4144 7 ай бұрын
Does it work the same for Mac os
@tanushreenagar3116
@tanushreenagar3116 3 жыл бұрын
Nice thnk you
@shivalingachalere2783
@shivalingachalere2783 Жыл бұрын
Sir please continue uploading fastapi videos.
@tripurarajavarapu2126
@tripurarajavarapu2126 Жыл бұрын
Can we deploy two different models at a time?
@vandriichuk
@vandriichuk 3 жыл бұрын
Hi, i can't to check predict from browser without swagger... Can you help me?
@plexus1942
@plexus1942 2 жыл бұрын
Krisk i have this error : RuntimeError: uvloop does not support Windows at the moment How can i fix it ?
@vikassalaria24
@vikassalaria24 3 жыл бұрын
Getting this error when giving command:uvicorn app:app --reload in anaconda prompt. Using vscode Error: classifier=pickle.load(pickle_in) ModuleNotFoundError: No module named 'sklearn.svm._classes'
@anaswahid8520
@anaswahid8520 3 жыл бұрын
Same here Have you solved it?
@SoumendraBagh
@SoumendraBagh 3 жыл бұрын
@@anaswahid8520 Pickle is causing error. I used joblib instead. Save and Load the model with *joblib* : filename = 'saved_joblib_model.sav' loaded_model = joblib.load(filename)
@akshayingole6442
@akshayingole6442 3 жыл бұрын
Sir can you please make Probability for Machine Learning Playlist. I watch your Statistics for Machine Learning and it is very helpful to me but I can't find the playlist for Probability for Machine Learning. So Please Sir can you make playlist for Probability for Machine Learning.
@creator6561
@creator6561 Ай бұрын
Can someone tell me where is he loading the model , is he loading it on the local machine ?
@lourdvicalcindor
@lourdvicalcindor 2 жыл бұрын
Nice !
@souravdey8236
@souravdey8236 2 жыл бұрын
What if the pickl file is large?
@parakhchaudhary7453
@parakhchaudhary7453 3 жыл бұрын
Hey, How do i use a data member of type datetime in BankNote basemodel class?
@Jnalytics
@Jnalytics 2 жыл бұрын
I have similar issues, do you have an idea how I can fastapi with type str in bank Chun_Customer model?
@aqibfayyaz1619
@aqibfayyaz1619 3 жыл бұрын
Thank you
@Jnalytics
@Jnalytics 2 жыл бұрын
Please how can I go about deploying CSV files with categorical features. When I used the same workflow on my model,I am getting a value error: could not convert "France" to integer. I have done preprocessing with LabelEncoder and OneHotEncoder but still get same error. Please help out!
@sunildhakad5219
@sunildhakad5219 3 жыл бұрын
Sir, is it okay to learn fast api even if I don't know django or flask , i only learned ML till now, please suggest, Thank you krish sir
@zaibalizaibali
@zaibalizaibali 2 ай бұрын
Gate name? Please explain
@AdityaYadav-qf4qm
@AdityaYadav-qf4qm Жыл бұрын
Can i create these api' sin vs code?
@jayvirsinhchhasatiya
@jayvirsinhchhasatiya Жыл бұрын
How to deploy this model as html. As u deploy model using flask.
@chekrasena
@chekrasena 3 жыл бұрын
When will AI-IOT, Augumanted-Reality,Virtual-Reality iNeuron Community batch eagerly waiting
@shahnawazkhan1636
@shahnawazkhan1636 3 жыл бұрын
sir please make a video on model deployment by FastApi on jupyter notebook IDE.
@hariprasath7050
@hariprasath7050 7 ай бұрын
Hi Sir you did great explain but you said at end of video you will continue to upload deploy deep learning model and and return HTML file continuation not posted till please make this playlist remaining video to finish
@disharamchandani1786
@disharamchandani1786 3 жыл бұрын
Which ide is this which is of black colour?
@oluwapelumi.adeosun
@oluwapelumi.adeosun 3 жыл бұрын
Spyder
@godse54
@godse54 3 жыл бұрын
krish pls make next video in which we are using html as our front end for showing result instead of swagger api. pls make this vedio ASAP as i can then deploy it on cloud and can add link into my resume
@MrAyandebnath
@MrAyandebnath 3 жыл бұрын
This is highly required. PleASE MAKE A VIDEO
@sompallidineshkumar6548
@sompallidineshkumar6548 3 жыл бұрын
Good evening sir , it's not correct time to ask this question but it's important for me Is SAP is good for career I mean for long term If yes please give me reply sir It is important for me
@joeljoseph26
@joeljoseph26 3 жыл бұрын
It's not worth it!
@dharanidharguntupalli3305
@dharanidharguntupalli3305 3 жыл бұрын
Hi sir, I have deployed yolov4 using darknet on my local machine. Now I want to deploy it using FastAPI. I just know what is what in FastAPI and just saw this video. Can you please suggest tips so that I can successfully deploy it?
@sebas72859
@sebas72859 2 жыл бұрын
have you get some info? I deploy yolor on Django, but I think the process runs slowly, I want to probe FAST API
@jcatlantis
@jcatlantis Жыл бұрын
Very nice content but i think you should speak slowly for most easier understanding
@user-or7ji5hv8y
@user-or7ji5hv8y 3 жыл бұрын
somehow the prediction part got an Internal Server Error. not sure if anyone else had the same issue.
@teapotdiaries7
@teapotdiaries7 Ай бұрын
same for me, I used other models such as SVC and it works.
@abhicasm9237
@abhicasm9237 Жыл бұрын
I don't know what you mean by deploy, but I dont think deploy means running it on localhost.
@narasa12
@narasa12 Ай бұрын
Asynchronous service gateway interface...
@jdhshs12
@jdhshs12 3 жыл бұрын
Cool
@soonapaana24
@soonapaana24 3 жыл бұрын
Asynchronous Server Gateway Interface
@rama_bhuyan
@rama_bhuyan 2 жыл бұрын
Hello, I have a query, hoping for a reply . I have aYOLOv3 Model, Deployed using Fast API but the issue I am getting is; when I call the model through API the inferencing detection accuracy decreasing. for example : If a image have 5 object of a class. If I am inferencing without API- I could detect all the Objects. If I am inferencing using API- I miss 1 or 2 objects Could you please help with the possible reason and how to overcome. Thankyou Rama
@snehitvaddi
@snehitvaddi 3 жыл бұрын
Krish sir, please make a video of *"Deploying Streamlit on GCloud"* because Github is not supporting files more than 100MB but my model.h5 file is more than 100MB. Please make a tutorial on it... 😐😐😐😐😐
@vineetjha400
@vineetjha400 3 жыл бұрын
Use GIT LFS for that.
@RahulPrajapati-jg4dg
@RahulPrajapati-jg4dg 3 жыл бұрын
when you uploading deployment of deep learning model using this fastapi
@theJS_developer
@theJS_developer 3 жыл бұрын
First Comment
@RavinderRam
@RavinderRam 3 жыл бұрын
second
@Nudaykumar
@Nudaykumar 3 жыл бұрын
Asynchronous server gateway interface
Deploying ML Models in Production: An Overview
14:27
Valerio Velardo - The Sound of AI
Рет қаралды 40 М.
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 7 МЛН
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
He sees meat everywhere 😄🥩
00:11
AngLova
Рет қаралды 11 МЛН
Deploy ML model in 10 minutes. Explained
12:41
Danil Zherebtsov
Рет қаралды 10 М.
Building a Machine Learning API in 15 Minutes | Coding Challenge
20:04
Nicholas Renotte
Рет қаралды 123 М.
How To Deploy FastAPI Machine Learning Models In Heroku
14:47
Krish Naik
Рет қаралды 14 М.
Python FAST API Tutorial
58:20
Tech With Tim
Рет қаралды 321 М.
Creating APIs For Machine Learning Models with FastAPI
20:06
NeuralNine
Рет қаралды 15 М.
Deploy LLM App as API Using Langserve Langchain
17:49
Krish Naik
Рет қаралды 28 М.
What are Generative AI models?
8:47
IBM Technology
Рет қаралды 949 М.
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00