first commit

This commit is contained in:
2026-09-11 01:41:52 +08:00
commit 9f22e6ccae
263 changed files with 28935 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# ============================================================================
# Fashion-CLIP 衣物分类服务依赖清单
# 安装:pip install -r requirements.txt
#
# 注意:PyPI 默认安装的是 CPU 版 torch。
# 如果你的机器有 NVIDIA GPU,请先按 PyTorch 官网命令单独安装对应 CUDA 版 torch,
# 再执行 pip install -r requirements.txt(已安装的 torch 会被跳过):
# pip install torch --index-url https://download.pytorch.org/whl/cu121
# ============================================================================
torch>=2.0.0
transformers>=4.30.0
fastapi>=0.100.0
uvicorn>=0.23.0
pillow>=9.5.0
python-multipart>=0.0.9 # FastAPI 处理 multipart 表单(/classify 上传图片)必需