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

未关闭
#44 0 条评论 0 个 reaction 已指派 2 人 在 GitHub 查看

@vianamp 已经在做这个了。

开始于 2026年5月27日。

评估

这个 Issue 还没有评估数据。

描述

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

主要语言
Python
星标
0
派生
0
平均合并
1 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

AllenCell/MegaSeg 的其他 Issue

查看 AllenCell/MegaSeg 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。