Build an AI app with FastAPI and Docker - Coding Tutorial with Tips
Join me in a coding session with Sebastián Ramírez and learn how to build a Machine Learning app with FastAPI and Docker. Along the way we will show you some tips like the interactive coding session and Docker init command, and best practices when working with FastAPI.
During the premiere, there will also be a giveaway to win Docker swag!🐳🥳
Sebastián is the creator of FastAPI, Typer, and other cool Open Source tools, and he is also a Docker captain. You can connect with him here:
- Twitter: / tiangolo
- Website: tiangolo.com/
Learn more about AI/ML and Docker: www.docker.com/products/ai-ml...
Resources:
- FastAPI: fastapi.tiangolo.com/
- ML model: huggingface.co/dandelin/vilt-...
- Docker init: github.com/patrickloeber/dock...
- Code: github.com/patrickloeber/dock...
Get my Free NumPy Handbook:
www.python-engineer.com/numpy...
⭐ Join Our Discord : / discord
📓 ML Notebooks available on Patreon:
/ patrickloeber
If you enjoyed this video, please subscribe to the channel:
▶️ : / @patloeber
~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
🖥️ Website: www.python-engineer.com
🐦 Twitter - / patloeber
✉️ Newsletter - www.python-engineer.com/newsl...
📸 Instagram - / patloeber
🦾 Discord: / discord
▶️ Subscribe: / @patloeber
~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
🅿 Patreon - / patrickloeber
#Python #docker
Timeline:
00:00 - Introduction
00:55 - Model Setup
09:35 - FastAPI Setup
26:15 - Docker Setup
Пікірлер: 57
INSTRUCTIONS TO WIN DOCKER SWAG: Take a picture of yourself watching the video (or just a screenshot), post it on Twitter mentioning @Docker & @patloeber & @tiangolo to win SWAG! The first 30 people will be selected. There are still some left :)
@arshadvayani
10 ай бұрын
twitter.com/extensiveweb/status/1697311129846882759?t=fjMJ4WxIymAa5L1qnUJMOA&s=19
Your videos are my go-to resource whenever I get stuck on a coding problem. Thank you!
Your videos are a constant source of inspiration for me. Please keep them coming!
just wanted to drop you a line and say thanks for this amazing tutorial on building an AI app with FastAPI and Docker! I was blown away by how easy it was to follow along and actually build something that works. I'm definitely going to be sharing this with my friends who are also interested in AI and machine learning. Your explanations were super clear and concise, and the tips you shared really helped me understand some of the more complex concepts.
Pat! This is awesome. Also having Sebastian was a nice touch. Much love to you guys.
@patloeber
10 ай бұрын
Thank you!!
Really cool feature of Run in interactive window. Thanks a lot for its introduction. This feature is also available by right clicking on a line/selection. VS code is the best.
Awesome video! thank you guys for the great intuition and tips.
You just remembered me ti make the FastAPI video! Great one btw!
Awesome 🎉🎉 please more in depth courses with Fastapi ❤
@MrSuperGerald
4 ай бұрын
and with Sebastian! This format is the best.
Thanks a ton for the interactive mode trick!
Great talk with Sebastian! 👏
My notifications are enabled 😊
thank you so much guys you helped me alot
You are a huge help to us!
great tutorial and lots of good information. Im familiar with torch and transformers but it was nice to combine them with a new technology to me, like fastAPI
@patloeber
10 ай бұрын
Thank you!
Awesome session. Hi Sebastian, when can we expect FastAPI docs update with SQLModel?
Thank you so much Sebastian🙏
Nice fast course! I am just amazed that the Docker image has 10GB :D
wow docker init make life so much easier
Very interesting. What is the Rust for?
Thanks Patrick for another great Tutorial. Would you be able to make a tutorial on using streamlit to create an end user web app to fix any wrong prediction to retrain the model. For example let say we have a machine learning model capable of predicting the house rent for homes. the user should be able to upload a csv of list of home with key attributes and the output should be a grid view with all the rent predictions. If there is an incorrect prediction user should be able to type in the correct rent which will be used to retrain the model. If you make a course on Udemy will be first to purchase it 😀
Best content 👍🏻
this was very helpfull and educational thank you for this video and this collaboration was greate 😇
@patloeber
10 ай бұрын
Glad you enjoyed it!
Thanks folks!
Thank you very much for this video.
@patloeber
10 ай бұрын
Glad you liked it!
great clip, thx!
Amazing! Patrick and Sebastian, how do we thank you for this?
@patloeber
10 ай бұрын
Hi hi, glad if you enjoyed the session!
Are there any development templates created for fastapi? What a standard FastAPI application should look like?
Does the Jupyter interactive window work, if I am using virtual env for the project?
Amazing
thanks
Good video, but I didn't get the part where you use Rust compiler, I mean why it was required?
@patloeber
10 ай бұрын
The transformers library needed it for the installation. At least on my system I was getting error messages without Rust
Thanks.
so like for me everything went good but now i want to deploy my fastapi to aws lambda how do i it ? can you tell me it's for my university project.
Thanks for this. However, would have been worth mentioning the amount of time needed to build the model. It took me 4hrs to build the image!
@patloeber
10 ай бұрын
Oh, didn't know it took that long :( It only took around 1 minute on my machine (2020 MacBook M1)
🐍 Explore the world of Python for Research Work with this amazing playlist! 📚🔬 Don't forget to hit the 'Like' button 👍 and 'Subscribe' for more awesome content! 🤩 Check it out: kzread.info/head/PLIDulLqbs-nnr758jI13Cm5RmsOTkOk7t
AI let's goooooo
vscode tells me to install ipykernel to run python code interactively, did you install it in the project venv?
@patloeber
10 ай бұрын
yup, it'll always ask you this the first time
I tried to do 'docker init' and it gave me (docker: 'init' is not a docker command. See 'docker --help') error. What did i missed?
❤
New subscriber from Bharat / India . Are you from?
cooles video
Thanks a lot! great Just it's not fullHD \:
what's the total duration of the course.?
@patloeber
10 ай бұрын
30 minutes
For recording
👍Nice...how to deploy it for free