hitit-cuneiform-ocr / code /configs /classification_convnext_plus.yaml
savastakan's picture
Initial upload: code + 5 record checkpoints + fuse
f211247 verified
Raw
History Blame Contribute Delete
792 Bytes
# ConvNeXt-Small "plus" — uzun eğitim + güçlü aug + daha büyük resim
# Top-1 %90 hedefli konfigürasyon
model_name: convnext_small
freeze_backbone: false
epochs: 200
batch: 48 # img 256 için
lr: 0.0005
img_size: 256 # 224 → 256 (ConvNeXt 256 destekli, daha iyi detay)
patience: 35
device: 0
workers: 10
name: hittite_convnext_plus
# Loss
loss: focal
label_smoothing: 0.1
focal_gamma: 2.0
focal_alpha: 1.0
# Augmentation — tümü açık (mixup/cutmix/tailmix)
mixup: true
mixup_alpha: 0.2
tailmix: true
tailmix_threshold: 50
cutmix: true
# Scheduler — uzun eğitim için daha aggressive warm restart
scheduler: cosine_warm_restarts
T_0: 25
T_mult: 2
eta_min: 0.000001
# Sınıf dengesizliği
use_weighted_sampler: true
class_weight_method: effective_num