Deploy Machine Learning Model Using Django Framework - Easy to follow Step-by-Step

  Рет қаралды 58,157

Sai Prakash Reddy

Sai Prakash Reddy

Күн бұрын

Пікірлер: 145
@funwidpython3266
@funwidpython3266 3 жыл бұрын
Thank you so much for simple and easy explaination ...
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
Tq Junaid , Glad to hear that . That is the motive of this channel . Appreciate the comment ❤️.
@manishpandit5126
@manishpandit5126 3 жыл бұрын
@@SaiprakashReddy hello brother can you tell me how can i deploy deep learning model in django
@aamarnath6923
@aamarnath6923 2 ай бұрын
best video to understand basics of django in 30 min. you just told what is exactly needed . Thanks for this video bro.
@SaiprakashReddy
@SaiprakashReddy Ай бұрын
Thanks 😊 , glad to know that
@mominmohsinali7564
@mominmohsinali7564 25 күн бұрын
Hey brother, my project is laptop price predictor, i have completed machine learning 2 files , df.pkl and pipe.pkl , what can i do please suggest, I'm getting error of this
@srivatsa07
@srivatsa07 4 жыл бұрын
Manchiga cheppinav bro. Thanks!!
@nicolasbevilaqua8138
@nicolasbevilaqua8138 Жыл бұрын
Thank you!!! That was very helpful! Respect from Brazil!
@kumarashutosh6402
@kumarashutosh6402 4 жыл бұрын
Literally,you helped me a lot.don't know how can i thank you.by the way,i subscribed your channel😊
@SaiprakashReddy
@SaiprakashReddy 4 жыл бұрын
Glad to hear that 💚
@kumarashutosh6402
@kumarashutosh6402 4 жыл бұрын
@@SaiprakashReddy thanks for reply,i had made a django website as per your video using ML,uploaded on github,got a live page also,but that is not working.I think,the project need an environment to work because i run the project on virtual environment in my localhost.It would be better,if you make a video on it,how to upload these projects and get a live page.
@SaiprakashReddy
@SaiprakashReddy 4 жыл бұрын
hello Ashutosh .Check the other video on my channel on the same 😊 .
@shaelanderchauhan1963
@shaelanderchauhan1963 3 жыл бұрын
Donate crypto
@akshaybhat9040
@akshaybhat9040 2 жыл бұрын
Hello sir I have a python project i vs code in which all functions will run only in command in terminal. i want to replace CLI with simple frontend . Please reply thanks sir
@kavyanshpandey3823
@kavyanshpandey3823 4 жыл бұрын
Thank you brother, It will help me to deploy my models using djnago
@SaiprakashReddy
@SaiprakashReddy 4 жыл бұрын
🙏❤️
@latestvideocreations6801
@latestvideocreations6801 2 жыл бұрын
Amazing 👍
@acchmdrdnt9486
@acchmdrdnt9486 Жыл бұрын
Hello brother I wanna ask The ' lis' value is appear but the ' ans ' not pop out How to fix it?
@TheTechnovatorsCommunity-1
@TheTechnovatorsCommunity-1 2 жыл бұрын
Thank you so much for this easy explanation and clean coding, it helped me a lot in implementing one of my ML models using recommendation analysis!! Thanks a lot!
@SaiprakashReddy
@SaiprakashReddy 2 жыл бұрын
Thanks Karan , comments like this provide great reinforcement for the channel . Happy that I could help .
@nikhilpatil6035
@nikhilpatil6035 Жыл бұрын
make more machine-learning tutorial with simple projects please
@mayanktripathi4u
@mayanktripathi4u 4 жыл бұрын
Thanks for this wonderful video. Could you please also share a video on how to deploy or kind of productionize the model using Django. Django's server may not be the best solution to use on production to keep the web site available 24*7. What are the options we do have, there are many video on youtube but all are confusing as none of them ( based on what i found till now) has concrete information. Please have a video on it.
@SaiprakashReddy
@SaiprakashReddy 4 жыл бұрын
If django's server is not the best solution for production then we can do one thing sir - run our model as an API on cloud (Gcp or AWS etc ) - use any framework(Nodejs etc) of choice to make the website which internally makes api calls to our machine learning model for processing the user requests.
@artiverma1402
@artiverma1402 2 жыл бұрын
Very nice explanation
@bhargavidesai7285
@bhargavidesai7285 2 жыл бұрын
Thank you so much it helped me to implement ml in my project 😀
@hamzanaeem4838
@hamzanaeem4838 4 жыл бұрын
Sir , if we don't need any web interface , what should we do . I want to just integrate the model into Django . Because in my case , i am making the classifier in which user take a pic from mob , and that pic goes to Django Model which gives class no and that class no returned to mobile . how should i do this
@last_theorem
@last_theorem 4 жыл бұрын
I think you can use an API, Just search for Django Rest API. In theory, it would be you clicking an image in phone sending it via an API , the Django backend makes the prediction and send it back with the API.
@AbhishekJain-pm2jn
@AbhishekJain-pm2jn 2 жыл бұрын
Thank you brother for such a amazing explanation
@joybarman8351
@joybarman8351 4 жыл бұрын
many many thanks brother....this video is so much helpful
@SaiprakashReddy
@SaiprakashReddy 4 жыл бұрын
Glad it helped
@apuravsharma7034
@apuravsharma7034 3 жыл бұрын
at <a href="#" class="seekto" data-time="1271">21:11</a> what should i write instead of .predict in my model in views.py ??
@neelbhatt
@neelbhatt 3 жыл бұрын
so i have not used a built in library i have designed a python algorithm, you have use joblib.dump(cls,filename) to save model in the device but i dont have a cls value what do i do to implement my program in django web.
@sonythomas6859
@sonythomas6859 3 жыл бұрын
How can I enter the raw and get the class predictions? What changes required in the code?. Currently getting correct class only if scaled data is entered in the data entry form.
@axieninja9503
@axieninja9503 4 жыл бұрын
I am confused because I train my own object detection tensorflow model and use fasterRCN. My question is how this model deploys my own server? ya make exe? plz suggest to me which is the best type to run model exe/server ?? I have two input and output folders on the desktop in that model and this model runs automatically? because the data comes in the input folder and classification takes place in the data output folder..
@SaiprakashReddy
@SaiprakashReddy 4 жыл бұрын
It depends on your target audience and the problem you are solving . If they need it as exe then go for it . If they want it as an API then deploy it as an API. If website can serve the purpose then go for server .
@axieninja9503
@axieninja9503 4 жыл бұрын
@@SaiprakashReddy my target in this script run automatically in server.. how to solve this target ? i use flask ya django?
@axieninja9503
@axieninja9503 4 жыл бұрын
@@SaiprakashReddy how to deploy object detection model ? plz help me plz share any link ?
@CreativeMood
@CreativeMood 2 жыл бұрын
When I output my answer it has two square brackets around it. Is there any way to remove these?
@CreativeMood
@CreativeMood 2 жыл бұрын
answer = str(answer)[2:-2] This works as it removes two letters from each side. Thanks for the video. Very useful
@Lizafreitagggg0
@Lizafreitagggg0 3 жыл бұрын
simple and useful. thank you for your hard work!
@koushikbiswas8289
@koushikbiswas8289 2 жыл бұрын
Awesome friend, hidden gem 😍
@lourdvicalcindor
@lourdvicalcindor 2 жыл бұрын
Thank you so much it's awesome
@bayankabbani3722
@bayankabbani3722 3 жыл бұрын
realy it's good job... thanks alot
@AadeshKarira
@AadeshKarira 3 жыл бұрын
Straight to the point, thanks bro
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
Glad to hear that . That is the motive of this channel . Appreciate the comment ❤️.
@Ks-oj6tc
@Ks-oj6tc 3 жыл бұрын
Great Video. Thanks. Subscribed
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
Thank you 😊 appreciate that
@tazuddin9143
@tazuddin9143 3 жыл бұрын
Thank you for such a wonderful video. Is it possible to use saved trained model for prediction without installing tensorflow or keras ?
@aparnajuhi625
@aparnajuhi625 3 жыл бұрын
Hello, the video is very very helpful.. But I have got stuck somewhere- It says -"No module named joblib" when I run the code. Please help
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
Hey Aparna , I hope the reply mail helped you . Let me know if you need any assistance
@mutindafestus5619
@mutindafestus5619 3 жыл бұрын
I am also stuck with the same error how did you resolve it?
@aparnajuhi625
@aparnajuhi625 3 жыл бұрын
@@mutindafestus5619 use pip install joblib in console to install it first
@mutindafestus5619
@mutindafestus5619 3 жыл бұрын
@@SaiprakashReddy Hi Kindly help me out. I am stuck with this error. actually i cant load other python packages such as joblib,sklearn ... under views.py, do i need to configure something on settings?
@shreyasmandaokar3079
@shreyasmandaokar3079 4 жыл бұрын
nice work
@vatsal_gamit
@vatsal_gamit 3 жыл бұрын
That was simple & easy!! Thanks for it :)
@janing06
@janing06 Жыл бұрын
Sir, What if you click submit without inputting data? Mine goes error
@ijazkhan4968
@ijazkhan4968 2 жыл бұрын
Thank so much sir,
@himanshu4033
@himanshu4033 4 жыл бұрын
can you tell , how to generate python graphs on Web using django ?
@nishantthakur3035
@nishantthakur3035 4 жыл бұрын
use chartjs
@032_chalildheerajpradeepku6
@032_chalildheerajpradeepku6 3 жыл бұрын
Can we use .h5 file other than .sav file ??
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
You can .
@shivamdubey4783
@shivamdubey4783 2 жыл бұрын
Thankyou brother can you plzz do that for tensor flow also
@jihedbensalah3878
@jihedbensalah3878 2 жыл бұрын
Thanks brooo , it is so helpful
@SaiprakashReddy
@SaiprakashReddy 2 жыл бұрын
Glad to hear that
@sumitlakhera766
@sumitlakhera766 2 жыл бұрын
Thank you very much for this !
@enricosaccheggiani3192
@enricosaccheggiani3192 3 жыл бұрын
very good .I like the join between the world of web programming (django) and the world of artificial Intelligence that sometimes are not so next related
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
Thanks enrico
@ashokreddy1061
@ashokreddy1061 2 ай бұрын
Valuable video ❤❤
@SaiprakashReddy
@SaiprakashReddy Ай бұрын
Thanks Ashok
@ousmanekaba8808
@ousmanekaba8808 2 жыл бұрын
Thank you so much sir ,please could you train a keras model and deploy into django ? i relay on you Sir
@vinrayudu
@vinrayudu 3 жыл бұрын
Good one, good for college level
@XERXEZITTRAININGANDPROJECTS
@XERXEZITTRAININGANDPROJECTS 3 жыл бұрын
Can you upload video on deploying dummies feature data...I was trying to heart disease prediction model using django...since its contains dummies data...not able to finish the project..Can you help me please... Hoping for positive response
@ajmeershahtricks6666
@ajmeershahtricks6666 2 жыл бұрын
Sir which one i should learn for ML deployment Django or Flask
@SaiprakashReddy
@SaiprakashReddy 2 жыл бұрын
Both can do the job , but Django has wide range of applications .
@ajmeershahtricks6666
@ajmeershahtricks6666 2 жыл бұрын
@@SaiprakashReddy ok thank you sir
@MahipalSingh-dn6mc
@MahipalSingh-dn6mc 3 жыл бұрын
Very well explained 👍🏻...thnks
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
Most welcome 😊
@mondaljis_cooking
@mondaljis_cooking 4 жыл бұрын
Thank you so much for this detailed video! 🙏
@SaiprakashReddy
@SaiprakashReddy 4 жыл бұрын
Thank you 😊
@lovesharma3431
@lovesharma3431 4 жыл бұрын
Good tutorial bro
@MOTURUNIHARIKABCE
@MOTURUNIHARIKABCE 4 жыл бұрын
Nice content ..Thank you !!!
@SaiprakashReddy
@SaiprakashReddy 4 жыл бұрын
Thank you
@nagulavanchaaishwaryarao3522
@nagulavanchaaishwaryarao3522 2 жыл бұрын
Beautifully done
@Siya_talks
@Siya_talks 2 жыл бұрын
Hello sir good evening I needed this Django for my ML project implementation. Sir will it work for 3 different prediction models at a time? I mean my project is regarding Health risk assessment which predicts 3 different types of diseases using 3 different ML models. So can I use Django for web development?
@SaiprakashReddy
@SaiprakashReddy 2 жыл бұрын
Yes
@Siya_talks
@Siya_talks 2 жыл бұрын
@@SaiprakashReddy okay. Thank you
@sandrafitri4973
@sandrafitri4973 4 жыл бұрын
Hi sir im very thankfull for this tutorial but i get problem at making data by myself when user input the result page says "buffer dtype mismatch, expected 'SIZE_t' but got 'long' how to handle this sir btw the ML works at my jupyter notebook Thanks sir:)
@sandrafitri4973
@sandrafitri4973 4 жыл бұрын
Sir help me:"
@SaiprakashReddy
@SaiprakashReddy 4 жыл бұрын
Its pretty hard to debug with this .... Can you mail me the code or GitHub repo ... I will get back to you saiprakashreddy1409@gmail.com
@sandrafitri4973
@sandrafitri4973 4 жыл бұрын
@@SaiprakashReddy sir the problem's done btw :"") thankyou for your kindness im reinstall my python with 64bit which my latest version is 32bit also my jupyter,pandas etc and its working. Thankyou sirrr regards from indonesia😅😅
@SaiprakashReddy
@SaiprakashReddy 4 жыл бұрын
Happy to hear . Yeah sometimes bug lies in the versions and becomes challenging to resolve . Glad you could solve it . If any further queries feel free to dm on LinkedIn .
@sandrafitri4973
@sandrafitri4973 4 жыл бұрын
@@SaiprakashReddy done sir please following back on linkedln. God bless you🌞🌞
@prithvib
@prithvib 3 жыл бұрын
Bro where did u load the dataset in django?
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
Watch the video bro
@trainwithguneet
@trainwithguneet 3 жыл бұрын
Guessing you learnt ML from the Udemy course (A-Z). Is it something you recommend.
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
Hello Guneet , Firstly Saying I learnt ML would be an overstatement , there is some much to explore in ML and AI and I barely scratched the surface . Yes I suggest Both ML and DL A-Z courses from the superdatascience team and kiril does a great job of explaining things in a simpler manner . That would be a best starting point for beginners , there is less to no mathematics in the course which makes it easy to follow as beginner . Apart from that Udacity and Coursera (andrewng) has a ML courses that go more in to the mathematics side of things . Highly recommended these .
@mohamedmzoughi8234
@mohamedmzoughi8234 3 жыл бұрын
Good job i loved this tutorial Simple yet too good ❤️
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
Thanks for the kind words 🙂 .. That's the goal
@smritisingh3810
@smritisingh3810 3 жыл бұрын
Very well explained 👏. Simple and clear 👏
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
Thanks , that's the motive .
@vishakashetty4546
@vishakashetty4546 2 жыл бұрын
hey Sai.. This video has really been helpful for me to build an ongoing project. Just wanted to know that I have a categorical column in my input data that i have converted via label encoder on python program and have tested on jupyter notebook which works fine. I have used the same code's sav file to build UI using django framework. Earlier with numerical data, everything worked smoothly, but with categorical dataset, it gives me the error on the webpage as "ValueError at /result/ could not convert string to float: 'Y'". Can you pleaseeee help.
@SaiprakashReddy
@SaiprakashReddy 2 жыл бұрын
Since there is a categorical to label encoding conversion, you would require to do the same for the user input as well, use the same label encoder for the user input. the dimensions would match now .
@vishakashetty4546
@vishakashetty4546 2 жыл бұрын
@@SaiprakashReddy Hi .. I did try executing my python code on jupyter notebook, it works fine there, i used label Encoder in it. When I'm trying to execute the same code in Django to get the desired output on Webapp.. it says "ValueError at /result/ could not convert string to float: 'Y'". The request given from django.. A1 = str(request.GET['A1']). (doesnt work), replacing str with int/float doesnt work, or not putting anything also isnt working..
@LeetCodeVision
@LeetCodeVision 3 жыл бұрын
Crazy good job man I needed this
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
Happy that it helped 👍 :)
@munshidrahman630
@munshidrahman630 2 жыл бұрын
thank you bro
@narasimhasai943
@narasimhasai943 4 жыл бұрын
Great video bro, but i am getting error in joblib.load() error is:( Buffer dtype mismatch, expected 'SIZE_t' but got 'long') in web page
@narasimhasai943
@narasimhasai943 4 жыл бұрын
can you please sort out this
@SaiprakashReddy
@SaiprakashReddy 4 жыл бұрын
Make sure if you are using same bit versions
@neiveinkhalil1290
@neiveinkhalil1290 4 жыл бұрын
Hi sir, i want to save the result of prediction and show it in html page... How can i handle that??!
@SaiprakashReddy
@SaiprakashReddy 4 жыл бұрын
Refer my previous video deployment of ml models using django
@neiveinkhalil1290
@neiveinkhalil1290 4 жыл бұрын
@@SaiprakashReddy i watched it... İt doesn't contain saving the result of each prediction... Can u guide me plz?!
@SaiprakashReddy
@SaiprakashReddy 4 жыл бұрын
@@neiveinkhalil1290 for saving all the results from predictions , you have to use database to store them all 👍. Django makes it easy give it a try .
@neiveinkhalil1290
@neiveinkhalil1290 4 жыл бұрын
@@SaiprakashReddy ok.. How can i handle that
@neiveinkhalil1290
@neiveinkhalil1290 4 жыл бұрын
@@SaiprakashReddyis there is away without using rest framework.. Cause the the Video which u told me aboıt using rest api!!!!
@Bangladesh_v2.0.0
@Bangladesh_v2.0.0 3 жыл бұрын
Thank you so much brother.
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
😊
@AI-in-Action952
@AI-in-Action952 3 жыл бұрын
is there any extension video for this?? deployment in heroku or aws
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
Hello pratapsai , Thanks for the sub 🙂. Yes there is a follow-up video on my channel called deploy django to the AWS . I ask you to visit the channel page and you will see with popular upload section .
@कलयुग_कर्ण
@कलयुग_कर्ण 2 жыл бұрын
Sir attribute error has no attribute result please help
@Hevletica
@Hevletica Жыл бұрын
GOAT
@the_senthil
@the_senthil 3 жыл бұрын
Thanks
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
😊
@wthgvalo
@wthgvalo 4 жыл бұрын
Noice video bro🔥🔥🔥🔥
@blueb06
@blueb06 3 жыл бұрын
Thanks man !!!!!!
@abchrisyou
@abchrisyou 3 жыл бұрын
thank you so much
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
Happy to help 🙂 , tqs for the sub btw
@वंदनीयभारत
@वंदनीयभारत 2 жыл бұрын
🙏
@jaddu6918
@jaddu6918 Жыл бұрын
Please provide the link of dataset
@waltonartist6141
@waltonartist6141 4 жыл бұрын
Thanks!!!!!!
@abdulraheemgoman5426
@abdulraheemgoman5426 2 жыл бұрын
itts lit
@ameyajangam4305
@ameyajangam4305 3 жыл бұрын
Bro I didn't see where you have loaded the dataset in django . You just copied the model file to the templates folder. I watched the video twice but didn't find it
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
The model file is the trained model , we use this trained models in deployment . Datasets are for training only .
@ameyajangam4305
@ameyajangam4305 3 жыл бұрын
@@SaiprakashReddy ohh got it thanks!
@khaoulaoueldji6946
@khaoulaoueldji6946 2 жыл бұрын
thank you, can u help me please?
@PraveenKumar-tt1dm
@PraveenKumar-tt1dm 3 жыл бұрын
Thanks ❤️❤️
@shreyasbs2861
@shreyasbs2861 3 жыл бұрын
Nice work...Could you please share code
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
Hey Shreyas , I forgot to push it to git that time , currently I don't have access to that Code
@saifulislam-iv9px
@saifulislam-iv9px 2 жыл бұрын
<a href="#" class="seekto" data-time="322">5:22</a> , <a href="#" class="seekto" data-time="1080">18:00</a>
@sudipshrestha4346
@sudipshrestha4346 3 ай бұрын
why answer ia always seven
@prashanttyagi5408
@prashanttyagi5408 3 жыл бұрын
bro code toh de deta description mae
@SaiprakashReddy
@SaiprakashReddy 3 жыл бұрын
Hey prashant , I haven't given the code because the it differs from model to model and it will lead to unnecessary errors . The motive of the video is to be able to deploy any model that can be served using web interface . Hope you understand. Thanks for the suggestion , I have provided the code for all the videos where I can 🙂 .
@shreyjain6447
@shreyjain6447 2 жыл бұрын
You are simply reading out the code lines and not explaining them. Absolutely horrible tutorial bro
@SaiprakashReddy
@SaiprakashReddy 2 жыл бұрын
Hi shrey , thanks for the feedback.
Deploy Machine Learning Models using Flask
14:52
Jay
Рет қаралды 115 М.
Deploy ML model in 10 minutes. Explained
12:41
Danil Zherebtsov
Рет қаралды 26 М.
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 51 МЛН
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 124 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 136 МЛН
How to Deploy Machine Learning Models (ft. Runway)
13:12
Thu Vu data analytics
Рет қаралды 104 М.
Deploy Django Website Using AWS EC2 Instance (Easiest Way)
17:10
Sai Prakash Reddy
Рет қаралды 49 М.
Creating APIs For Machine Learning Models with FastAPI
20:06
NeuralNine
Рет қаралды 20 М.
Deploying ML models using Django | HR Analytics
7:02
Aniket Wattamwar
Рет қаралды 8 М.
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
pixegami
Рет қаралды 278 М.
Training Your Own AI Model Is Not As Hard As You (Probably) Think
10:24
Steve (Builder.io)
Рет қаралды 557 М.