Deploy ML models with FastAPI, Docker, and Heroku | Tutorial

Поділитися
Вставка
  • Опубліковано 2 лют 2025

КОМЕНТАРІ • 53

  • @davegordon6233
    @davegordon6233 Рік тому +7

    Best explanation I found in 3 days! Thank you.

  • @wuttipatsricharoensuk5072
    @wuttipatsricharoensuk5072 Рік тому +9

    Thank you so much for sharing this excellent tutorial. I followed the steps, and I was able to successfully deploy my first model. Your clear explanations and step-by-step guidance made the process really smooth and enjoyable.

    • @ary_21
      @ary_21 Рік тому

      heroku doesnt have a free tier anymore , you have a paid subscription?

    • @wuttipatsricharoensuk5072
      @wuttipatsricharoensuk5072 Рік тому

      @@ary_21 I haven't subscribed to any paid plan on Heroku. I just deleted the app once I finished deploying it. Since it avoids any unnecessary costs while still taking advantage of learning and experimentation.

    • @ary_21
      @ary_21 Рік тому

      @@wuttipatsricharoensuk5072got it, actually
      I have interviews in next 2 months so looking for.a solution for free deployment
      Being. A fresher i cant afford aws etc
      If you know any do let me know

    • @MrAmgadHasan
      @MrAmgadHasan Рік тому +1

      @@ary_21 render has a free tier that offers 512GB of RAM and 0.1 CPU.
      You can deploy fastapi (and even plotly dash and streamlit) there but your models need to be able to run with these limited resources.

  • @boisiul
    @boisiul Рік тому +1

    really great tutorial, thanks man!

  • @MrShihab100
    @MrShihab100 7 місяців тому

    Thanks for this professional tutorial :)

  • @EGlobalKnowledge
    @EGlobalKnowledge Рік тому

    Thank you very much, was able to deploy the whole thing

  • @codecrush_666
    @codecrush_666 Рік тому

    thanks a lot for sharing, excellent tutorial!

  • @checher100
    @checher100 Рік тому

    absolutely great! Thanks for that

  • @muhammadumarsotvoldiev8768
    @muhammadumarsotvoldiev8768 Рік тому

    thank you. This video helped me a lot

  • @ajeetsbpr
    @ajeetsbpr Рік тому

    Thanks for explaining this.

  • @TAP7a
    @TAP7a Рік тому +1

    The filling in of the requirements.txt part is why all python users should use envs by default, all the time :)

    • @user-wb1yh8sm1w
      @user-wb1yh8sm1w Місяць тому

      I guess to create a isolated env for the present working project that doesn't interfere with other projects you are working on.

  • @currentactivities6527
    @currentactivities6527 Рік тому

    thank you for sharing ❤

  • @jamm9848
    @jamm9848 Рік тому +1

    Thank you for the video. Will deployment work for large files for example an ml model of up to 2 Gb in size?

  • @caxupin6666
    @caxupin6666 Рік тому

    Thanks for the video!

  • @ahb5819
    @ahb5819 Рік тому +4

    Heroku no longer has an free tier, any other recommendations?
    Btw great video 😊

    • @ashishmehra5143
      @ashishmehra5143 11 місяців тому

      Vercel is a free option but I have not seen a success after deployment. I am able to run the application locally but when not after the deployment.

  • @jonahturner2969
    @jonahturner2969 2 роки тому +2

    Hey, thanks for the tutorial! We've noticed that our production FastAPI services all suffer from memory leaks, any suggestions/experience with that?

  • @ollieq5259
    @ollieq5259 2 роки тому

    Hey, at 14:52, you're using iTerm2 as your terminal in MacOS right? I also use it. But how did you make it pretty, specifically getting that 'arrow' shape over the text, and making part of the text blue? :)

    • @Vicitoriachi
      @Vicitoriachi Рік тому

      He's using the zsh (Z-shell) unix shell, instead of bash ;).

  • @ivan07valdes
    @ivan07valdes Рік тому

    What a good video!

  • @TheSkogemann
    @TheSkogemann 2 роки тому

    Thank you! 👏

  • @manhpham5772
    @manhpham5772 2 роки тому

    Great tutorial! But could you tell me how to deal with docker-compose and Heroku, I have frontend and backend containers...

  • @alice.access5
    @alice.access5 7 місяців тому

    for bigger models, doesn't this cost a lot to host and run per month?

  • @hpatelecom1
    @hpatelecom1 Рік тому

    Briliant Patric

  • @noobjok3r640
    @noobjok3r640 9 місяців тому

    can you help me like i want to a image classification ml model to deploy but in ur video its string version

  • @smiley3239
    @smiley3239 11 місяців тому

    other than heroku, when can we deploy it?

  • @SizoMosibi
    @SizoMosibi 6 місяців тому

    love it

  • @theiyobosa
    @theiyobosa 2 роки тому

    Amazing!

  • @aminatashnezhad
    @aminatashnezhad Рік тому

    great job.

  • @mendezluis3346
    @mendezluis3346 2 роки тому

    Hello, I have an error, when I deploy the model on Heroku, and then open the app, display a r15 and r14 error, what should i do? I try the model with tensorflow-cpu

  • @FiringTap
    @FiringTap 8 місяців тому

    If i have my idea can i deploy public ?

  • @ElskiezVazcez
    @ElskiezVazcez 2 роки тому

    thanks mate

  • @FiringTap
    @FiringTap 8 місяців тому

    genius!

  • @mansamusa559
    @mansamusa559 2 роки тому

    Thanks! Does anyone know how to easily deploy an ML Model which requires GPU ? (Like ine tuned stable diffusion model)

  • @saifulislam-iv9px
    @saifulislam-iv9px 2 роки тому

    Möge Gott dich segnen!

  • @cesaravalos7591
    @cesaravalos7591 9 місяців тому

    2:00 Portugeese 🦆🦆🦆🤣🤣🤣

  • @caiyu538
    @caiyu538 Рік тому

    Great

  • @ДмитрийЧерноскутов-ц2о

    Can you give link to google colab notebook?

    • @kulewers3876
      @kulewers3876 4 місяці тому

      colab.research.google.com/drive/1uaALcaatvxOu42IhQA4r0bahfdpw-Z7v?usp=sharing#scrollTo=ip4Ozho_eq5q

  • @deepjyotibaishya7576
    @deepjyotibaishya7576 7 місяців тому

    How to train in deep

  • @googlecolab7388
    @googlecolab7388 Рік тому

    like your smile

  • @adia9791
    @adia9791 Рік тому

    Shouldnt you use ohe?

  • @markcuello5
    @markcuello5 Рік тому

    HELP

  • @thisiskartik
    @thisiskartik Рік тому +5

    Its a great video but I need to give a thumbs down because you never made this video a beginner friendly, Docker is really new to me as well has deploying it on heroku, it would have been great if you just a 1min introduction to what they are or where can we lear, like a prerequisite in the beginning of the video.

  • @smilebig3884
    @smilebig3884 Рік тому

    too basic.

  • @gorterbalyants
    @gorterbalyants 7 місяців тому

    Why you talk like that