Align task API and add FunCaptcha support

This commit is contained in:
Hua
2026-03-12 19:32:59 +08:00
parent ef9518deeb
commit bc6776979e
33 changed files with 3446 additions and 672 deletions

View File

@@ -22,7 +22,7 @@ class CaptchaClassifier(nn.Module):
→ 全局平均池化 → 全连接 → 输出类别数。
"""
def __init__(self, num_types: int = 3):
def __init__(self, num_types: int = 5):
super().__init__()
self.num_types = num_types