Pig Instance Segmentation Reliability Assessment: code, frozen splits and audit records
Abstract
Research software and documented experimental artifacts supporting the manuscript "Selecting pig instance segmentation models for farm monitoring: compute-matched and date-disjoint evidence from YOLO11, YOLO26 and Mask R-CNN" by Julián Coronel-Reyes and Alexander Haro-Sarango. The manuscript is in preparation for submission; it is not accepted or published. Scope and design. YOLO11n-seg, YOLO26n-seg and Mask R-CNN ResNet50-FPN are evaluated on FaroPigSeg using frozen acquisition-date-disjoint partitions: 949 training, 196 validation and 373 test images across 25 dates. The test comprises five dates and 4,648 instances from the same source dataset; no independently acquired external farm was evaluated. Three training seeds (2026, 2027, 2028) are used per configuration. Complementary experiments 54–56 add equal 60-minute NVIDIA L4 training budgets, a cosine-learning-rate Mask R-CNN control, and a single retrospective evaluation of 12 best-validation checkpoints plus three original controls. Equal wall-clock budgets do not equalize FLOPs, energy or all training settings. Earlier analyses consulted the test set; this is retrospective evaluation, not independent external-farm validation. Contents. The exact GitHub source snapshot at commit 9e19a5b8973a6efed544e6cde86f1eef71c14422 contains 115 files, including 37 cleaned Google Colab notebooks (00–33 and 54–56), frozen split manifests, recorded CSV/JSON/Excel summaries, publication figures, environment notes, an independently implemented compressed-RLE mask-AP verifier, and an automated repository audit. Additional deposit files provide a README, a per-file SHA-256 manifest, revised supplementary tables S1–S17 and figures S1–S4 (ESM_1.pdf), and release notes with the supplement checksum. Code repository: https://github.com/Julians30/pig-instance-segmentation-reliability . Verification scope. The archived source passes the static repository audit. That check verifies notebook structure, split/provenance integrity and recorded result organization; it does not rerun training, inference or full COCO evaluation. Historical independent numerical-audit summaries are included, but the complete input artifacts needed to repeat that audit are not distributed in this deposit. Access and licenses. Original project code and documentation retain the repository MIT license. FaroPigSeg photographs, labels and ground-truth masks are not redistributed; obtain them from the original authors under their stated CC BY-NC 4.0 terms: https://github.com/yudong888/FaroPig-Datasets . The original dataset publication is https://doi.org/10.1016/j.eswa.2025.128466 . Third-party dataset, model and dependency terms are not superseded by this deposit's license. Full trained checkpoints and complete prediction JSON files are not included; running the pipeline requires upstream data, suitable dependencies and GPU computation. See DATA_LICENSE.md, results/README.md and docs/REPRODUCIBILITY.md inside the archive.