基于 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)
27 lines
207 B
Plaintext
27 lines
207 B
Plaintext
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*.egg-info/
|
|
dist/
|
|
build/
|
|
|
|
# Virtual environment
|
|
.venv/
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# Streamlit
|
|
.streamlit_cache/
|
|
|
|
# Ruff
|
|
.ruff_cache/
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
/.doc/
|