requirements.txt 958 B

1234567891011121314151617181920212223242526272829
  1. # 拾音器异响检测系统 - 依赖清单
  2. #
  3. # 安装: pip install -r requirements.txt
  4. # 国内镜像: pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
  5. #
  6. # 注意: PyTorch 需根据 CUDA 版本安装,详见 https://pytorch.org
  7. # FFmpeg 需单独安装(系统包管理器)
  8. # 深度学习
  9. torch>=2.0.0 # 模型推理
  10. # 数值计算
  11. numpy>=1.23.0,<2.0 # PyTorch 2.x 不兼容 NumPy 2.x
  12. # 音频处理
  13. librosa>=0.10.0 # Mel 频谱提取
  14. soundfile>=0.12.0 # 音频文件 I/O
  15. # 网络请求
  16. requests>=2.28.0 # SCADA API / 推送接口调用
  17. # 配置管理 API
  18. fastapi>=0.100.0 # 配置管理 RESTful 接口
  19. uvicorn>=0.22.0 # ASGI 服务器
  20. pydantic>=2.0 # 数据验证
  21. # 训练 / 迁移工具依赖
  22. pyyaml>=6.0 # YAML 解析(迁移脚本 + auto_training)
  23. apscheduler>=3.10.0 # 定时任务调度(auto_training)