2026-04-29-21-51-19 - 全栈系统改造:FastAPI后端+SAM2+PostgreSQL+Redis+MinIO+前端Zustand重构
This commit is contained in:
38
backend/requirements.txt
Normal file
38
backend/requirements.txt
Normal file
@@ -0,0 +1,38 @@
|
||||
# Web framework
|
||||
fastapi
|
||||
uvicorn[standard]
|
||||
python-multipart
|
||||
|
||||
# Database
|
||||
sqlalchemy
|
||||
psycopg2-binary
|
||||
alembic
|
||||
|
||||
# Cache / Task queue
|
||||
redis
|
||||
celery
|
||||
|
||||
# Object storage
|
||||
minio
|
||||
|
||||
# Image / Video / DICOM processing
|
||||
opencv-python
|
||||
pillow
|
||||
scikit-image
|
||||
pydicom
|
||||
numpy
|
||||
|
||||
# SAM 2 (may require manual installation depending on CUDA version)
|
||||
sam2
|
||||
|
||||
# PyTorch (CUDA 12.4 wheel index; adjust for your CUDA version if needed)
|
||||
torch
|
||||
torchvision
|
||||
torchaudio
|
||||
|
||||
# Configuration
|
||||
pydantic-settings
|
||||
|
||||
# Utilities
|
||||
python-jose[cryptography]
|
||||
passlib[bcrypt]
|
||||
Reference in New Issue
Block a user