Slither worm segmentation — 200 draft labels
No-prompt binary masks for all visible worms. Food, background and UI are background. This is semantic segmentation, not separate worm instances.
Selected segformer_b2-lr0.00001-s17, epoch 98, threshold 0.40, using validation only among eight fine-tuning runs. Untouched test: IoU 0.5919, Dice 0.7436, precision 0.6954, recall 0.7990. Split: 140 training / 30 validation / 30 test, by source video and conservative perceptual duplicate group.
These are agreements with draft annotations, all marked needs_review. Some outlines are shifted or too wide. The test is only 30 images, creator overlap may remain, and this does not establish production accuracy. Small worms, skins, glow and crowded scenes require more reviewed labels. No test-driven tuning was done.
Architecture, loss, augmentation, splits, pinned pretraining sources, every run's logs and held-out visual predictions are included. model.pt is the inference export; training/best.pt and training/latest.pt retain the winning run's model/optimizer/RNG state. Dataset snapshot is in data/labels-and-frames.tar.gz; sources and annotation hashes are in the manifest.
from huggingface_hub import snapshot_download
root = snapshot_download('mundoamundo/slither-worm-segmentation-200-20261004')
# Install worm_segmentation/requirements.txt, then run from root:
# python -m worm_segmentation.predict model.pt image.jpg mask.png
Input float RGB [B,3,H,W] in [0,1]; output foreground logits [B,H,W]. The helper writes thresholded 0/255 PNG masks. Training images are 640×360, padded internally to a multiple of 32. See worm_segmentation/README.md for details.
Upstream licenses and attributions are retained. SegFormer/NVIDIA derivatives are restricted to noncommercial research/evaluation by the included license; DINOv3 experiments use Meta's DINOv3 materials and license. This repository does not imply new rights to source gameplay media.