Classic segmentation workflow reproducibility issue for ACTN1,MYH10,SEC61B, & ST6GAL1

Đang mở
#44 0 bình luận 0 reaction 2 người được giao Xem trên GitHub

@vianamp đang làm issue này rồi.

Từ ngày 27/5/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

We are training MegaSeg on the public AICS variance dataset (https://animatedcell-test-data.s3.us-west-2.amazonaws.com/variance/{FOV_ID}.zarr). Channel C=4 of each zarr is the segmentation we use as training/eval GT for 14 structures.

For most structures, when we re-run an aicssegmentation classical workflow on the raw images today, the output matches C=4 to Dice ≥ 0.99. For ACTN1, MYH10, SEC61B, and ST6GAL1, it does not, and the pattern of disagreement is structure-specific in a way that suggests different pipelines or different parameters were used to produce C=4 for these four structures.

What we have confirmed

  1. Our staged GT TIFFs are byte-identical to C=4 of the public zarrs. On 20 sampled images across the 4 structures, Dice = 1.000000, and the nonzero-pixel counts match to the integer. So the GT we trained on is not a custom local mask, it is exactly the public dataset's C=4.
  2. Our re-run pipeline is deterministic. Two independent runs of the classical workflow, six weeks apart, matched bit-identically on 24 sampled images. The single deviation (ST6GAL1) differed by 0.003 Dice, a floating-point sensitivity, not a real change.
  3. So the discrepancy below is not library drift between 2021 and 2026 and not noise in our pipeline. There is a real difference between whatever pipeline produced C=4 for these four structures and the aicssegmentation classical workflow we run today.

What we observe

Dice between the classical workflow output and C=4 of the public zarr, across all images for which we have a measurement (test split = full coverage at N=67 per structure; train+val = sparse sample):

Structure N mean median min max <0.8 0.8–0.99 ≥0.99
ACTN1 121 0.865 0.998 0.618 1.000 49 0 72
MYH10 73 0.962 0.960 0.939 0.987 0 73 0
SEC61B 73 0.949 0.936 0.758 0.998 1 48 24
ST6GAL1 73 0.913 0.886 0.842 0.999 0 53 20
  • ACTN1 is sharply bimodal. 49 images cluster near 0.65, 72 cluster near 1.0, and zero images fall in between. This is the clearest "two pipelines were applied per-image" signature in the dataset.
  • ST6GAL1 shows a weaker version of the same. A high cluster at ~1.0 and a lower mode at ~0.87, but with more spread.
  • MYH10 is uniformly offset. Every measured image is in [0.94, 0.99]. Looks like a single parameter difference (threshold, smoothing,
    morphology), not a different pipeline.
  • SEC61B has the widest spread (0.76–1.00), without a clean bimodal split.

What we'd like from you

For these 4 structures, could you help us pin down what produced C=4 in the public zarrs, by reproducing the masks and provding us the pipeline.

How our team re-ran the workflow (for reference)

Repo: https://github.com/AllenCell/MegaSeg (branch verify-classic-gt, PR #15, Issue #3).

Key files:

  • benchmark/scripts/classic_workflows.py — workflow loader / registry
  • benchmark/scripts/run_classic.py — generic CLI runner
  • benchmark/scripts/verify_classic_gt.py — verification harness
  • docs/2026-02-26-classic-gt-reproducibility-report.md — full report

Workflow functions used per structure (single-channel):

  • ACTN1 → Workflow_actn1 from ms_classic/ms_seg_ACTN1.py
  • MYH10 → Workflow_myh10 from ms_classic/classic_segmentation_MYH10.py
  • SEC61B → Workflow_sec61b from ms_classic/classic_segmentation_SEC61B.py
  • ST6GAL1 → Workflow_st6gal1 from ms_classic/classic_segmentation_ST6GAL1.py

Environment: aicssegmentation 0.5.3, scikit-image 0.25.2, numpy 2.3.5, scipy 1.17.1, Python 3.11.

Attached: megaseg_4struct_for_issue_final.csv

Provides image paths for these 4 structures and the dice scores for existing vs. recreated masks.
megaseg_4struct_for_issue_final.csv

Ngôn ngữ chính
Python
Star
0
Fork
0
Merge trung bình
1 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AllenCell/MegaSeg

Tất cả issue của AllenCell/MegaSeg

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.