- Add 57 unit tests covering generators, models, and pipeline components - Implement FastAPI HTTP service (server.py) with POST /solve and GET /health - Add checkpoint resume (断点续训) to both CTC and regression training utils - Fix device mismatch bug in CTC training (targets/input_lengths on GPU) - Add pytest dev dependency to pyproject.toml - Update .gitignore with data/solver/, data/real/, *.log - Remove PyCharm template main.py - Update training/__init__.py docs for solver training scripts Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 lines
603 B
TOML
32 lines
603 B
TOML
[project]
|
|
name = "captchbreaker"
|
|
version = "0.1.0"
|
|
description = "验证码识别多模型系统 - 调度模型 + 多专家模型两级架构"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"torch>=2.0.0",
|
|
"torchvision>=0.15.0",
|
|
"onnx>=1.14.0",
|
|
"onnxscript>=0.6.0",
|
|
"onnxruntime>=1.15.0",
|
|
"pillow>=10.0.0",
|
|
"numpy>=1.24.0",
|
|
"tqdm>=4.65.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
server = [
|
|
"fastapi>=0.100.0",
|
|
"uvicorn>=0.23.0",
|
|
"python-multipart>=0.0.6",
|
|
]
|
|
cv = [
|
|
"opencv-python>=4.8.0",
|
|
]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
captcha = "cli:main"
|