# 拾音器异响检测系统 - 依赖清单
#
# 安装: pip install -r requirements.txt
# 国内镜像: pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
#
# 注意: PyTorch 需根据 CUDA 版本安装，详见 https://pytorch.org
#       FFmpeg 需单独安装（系统包管理器）

# 深度学习
torch>=2.0.0              # 模型推理
onnxruntime>=1.14.0       # ONNX 模型验证 / BModel 转换前精度检查

# 数值计算
numpy>=1.23.0,<2.0        # PyTorch 2.x 不兼容 NumPy 2.x

# 音频处理
librosa>=0.10.0           # Mel 频谱提取
soundfile>=0.12.0         # 音频文件 I/O

# 网络请求
requests>=2.28.0          # SCADA API / 推送接口调用

# 配置管理 API
fastapi>=0.100.0          # 配置管理 RESTful 接口
uvicorn>=0.22.0           # ASGI 服务器
pydantic>=2.0             # 数据验证
python-multipart>=0.0.6   # FastAPI 文件上传（云端服务必需）

# 训练 / 迁移工具依赖
pyyaml>=6.0               # YAML 解析（迁移脚本 + auto_training）
apscheduler>=3.10.0       # 定时任务调度（auto_training）
