https://github.com/danilichev/app-api-py
A FastAPI boilerplate for ML related applications
https://github.com/danilichev/app-api-py
asyncpg docker fastapi poetry postgresql pydentic python pytorch sqlalchemy
Last synced: about 2 months ago
JSON representation
A FastAPI boilerplate for ML related applications
- Host: GitHub
- URL: https://github.com/danilichev/app-api-py
- Owner: danilichev
- License: mit
- Created: 2024-04-30T09:35:50.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-27T06:14:05.000Z (almost 2 years ago)
- Last Synced: 2025-01-29T03:51:10.340Z (about 1 year ago)
- Topics: asyncpg, docker, fastapi, poetry, postgresql, pydentic, python, pytorch, sqlalchemy
- Language: Python
- Homepage:
- Size: 391 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# app-api-py
### Overview
This is a FastAPI-based application designed to be a quick start for new projects. This project aims to streamline the development process by offering a ready-to-use template that can be easily extended and customized to meet specific requirements.
Based on great project [fastapi-sqlalchemy-asyncpg](https://github.com/grillazz/fastapi-sqlalchemy-asyncpg) but it is tailored for ML-related applications.
Uses [MiVolo](https://github.com/WildChlamydia/MiVOLO) model for age estimation endpoint, checkpoints avalilble [here](https://drive.google.com/file/d/1LtDfAJrWrw-QA9U5IuC3_JImbvAQhrJE/view).
### Make commands
```shell
# start local development
make setup
# build project
make docker-build
# apply db migrations
make docker-apply-db-migrations
# run project in docker
make docker-up
```
### Citations
```
@article{mivolo2024,
Author = {Maksim Kuprashevich and Grigorii Alekseenko and Irina Tolstykh},
Title = {Beyond Specialization: Assessing the Capabilities of MLLMs in Age and Gender Estimation},
Year = {2024},
Eprint = {arXiv:2403.02302},
}
```