feat: 初始化香蕉叶病害智能识别系统
基于 ViT 视觉变换器实现香蕉叶片病害分类应用,支持 7 类病害识别。 - app.py: Streamlit 前端应用,包含图片上传、病害识别、置信度图表展示及防治建议 - pyproject.toml: 项目配置,声明 Python 3.14 及依赖(streamlit、transformers、torch、plotly 等) - uv.lock: 依赖版本锁定文件 - Dockerfile: 基于 uv 镜像的容器化部署配置,含健康检查 - justfile: 常用开发任务脚本(run、install、format、check 等) - main.py: 命令行入口 - .doc/: 模型使用说明文档 模型来源: Dmitry43243242/banana-disease-leaf-model (HuggingFace)
This commit is contained in:
19
pyproject.toml
Normal file
19
pyproject.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
[project]
|
||||
name = "banana-disease-leaf"
|
||||
version = "0.1.0"
|
||||
description = "香蕉叶病害智能识别系统 - 基于 ViT 视觉变换器的香蕉叶片病害分类应用"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.14"
|
||||
dependencies = [
|
||||
"numpy>=2.3.5",
|
||||
"plotly>=6.5.0",
|
||||
"ruff>=0.14.8",
|
||||
"streamlit==1.52.1",
|
||||
"torch>=2.7.0",
|
||||
"transformers>=4.52.0",
|
||||
"pillow>=11.2.0",
|
||||
]
|
||||
|
||||
[[tool.uv.index]]
|
||||
url = "https://mirrors.aliyun.com/pypi/simple"
|
||||
default = true
|
||||
Reference in New Issue
Block a user