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

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024

Комментарии • 145

  • @funwidpython3266
    @funwidpython3266 3 года назад +8

    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.

  • @mominmohsinali7564
    @mominmohsinali7564 25 дней назад +1

    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 года назад +3

    Manchiga cheppinav bro. Thanks!!

  • @nicolasbevilaqua8138
    @nicolasbevilaqua8138 Год назад

    Thank you!!! That was very helpful!
    Respect from Brazil!

  • @kumarashutosh6402
    @kumarashutosh6402 4 года назад +5

    Literally,you helped me a lot.don't know how can i thank you.by the way,i subscribed your channel😊

    • @SaiprakashReddy
      @SaiprakashReddy  4 года назад +1

      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 года назад +2

    Thank you brother, It will help me to deploy my models using djnago

  • @latestvideocreations6801
    @latestvideocreations6801 2 года назад +1

    Amazing 👍

  • @acchmdrdnt9486
    @acchmdrdnt9486 Год назад +1

    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 года назад +1

    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 года назад +1

      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 года назад +2

    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 года назад +3

      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 года назад +2

    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 года назад +1

    many many thanks brother....this video is so much helpful

  • @apuravsharma7034
    @apuravsharma7034 3 года назад +1

    at 21:11 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 года назад +1

    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 года назад +2

    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 года назад +2

    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

  • @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 года назад +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 года назад +1

    nice work

  • @vatsal_gamit
    @vatsal_gamit 3 года назад +1

    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 года назад +3

    can you tell , how to generate python graphs on Web using django ?

  • @032_chalildheerajpradeepku6
    @032_chalildheerajpradeepku6 3 года назад +1

    Can we use .h5 file other than .sav file ??

  • @shivamdubey4783
    @shivamdubey4783 2 года назад

    Thankyou brother can you plzz do that for tensor flow also

  • @jihedbensalah3878
    @jihedbensalah3878 2 года назад

    Thanks brooo , it is so helpful

  • @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

  • @ashokreddy1061
    @ashokreddy1061 2 месяца назад

    Valuable video ❤❤

  • @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

  • @MahipalSingh-dn6mc
    @MahipalSingh-dn6mc 3 года назад

    Very well explained 👍🏻...thnks

  • @mondaljis_cooking
    @mondaljis_cooking 4 года назад +1

    Thank you so much for this detailed video! 🙏

  • @lovesharma3431
    @lovesharma3431 4 года назад +1

    Good tutorial bro

  • @MOTURUNIHARIKABCE
    @MOTURUNIHARIKABCE 4 года назад +2

    Nice content ..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?

  • @sandrafitri4973
    @sandrafitri4973 4 года назад +1

    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 года назад +1

    Bro where did u load the dataset in django?

  • @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 года назад +1

    Good job i loved this tutorial
    Simple yet too good ❤️

    • @SaiprakashReddy
      @SaiprakashReddy  3 года назад +1

      Thanks for the kind words 🙂 .. That's the goal

  • @smritisingh3810
    @smritisingh3810 3 года назад

    Very well explained 👏. Simple and clear 👏

  • @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 года назад +1

    Crazy good job man I needed this

  • @munshidrahman630
    @munshidrahman630 2 года назад

    thank you bro

  • @narasimhasai943
    @narasimhasai943 4 года назад +1

    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

  • @neiveinkhalil1290
    @neiveinkhalil1290 4 года назад +1

    Hi sir, i want to save the result of prediction and show it in html page... How can i handle that??!

    • @SaiprakashReddy
      @SaiprakashReddy  4 года назад +1

      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 года назад +1

      @@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 года назад +1

    Thank you so much brother.

  • @AI-in-Action952
    @AI-in-Action952 3 года назад

    is there any extension video for this?? deployment in heroku or aws

    • @SaiprakashReddy
      @SaiprakashReddy  3 года назад +1

      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 Год назад +1

    GOAT

  • @the_senthil
    @the_senthil 3 года назад

    Thanks

  • @wthgvalo
    @wthgvalo 4 года назад +1

    Noice video bro🔥🔥🔥🔥

  • @blueb06
    @blueb06 3 года назад +1

    Thanks man !!!!!!

  • @abchrisyou
    @abchrisyou 3 года назад

    thank you so much

  • @वंदनीयभारत
    @वंदनीयभारत 2 года назад +1

    🙏

  • @jaddu6918
    @jaddu6918 Год назад

    Please provide the link of dataset

  • @waltonartist6141
    @waltonartist6141 4 года назад +1

    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 года назад +1

      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 года назад

    5:22 , 18:00

  • @sudipshrestha4346
    @sudipshrestha4346 3 месяца назад

    why answer ia always seven

  • @prashanttyagi5408
    @prashanttyagi5408 3 года назад +1

    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 года назад +1

    You are simply reading out the code lines and not explaining them. Absolutely horrible tutorial bro