You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v0.9.1: Cellpose notebook comfort fixes from the owner's Colab test (26 Nov) #574
The owner tested MorphoBricks_Preprocessing_Cellpose at release candidate B 3a1b073 in Colab on 26 Nov 2026. The stale nuclei preview results go into v0.9.0 in a separate PR. The other items below are for v0.9.1:
Slow first install. Running the install cell is very slow the first time. Give Cellpose its own install cell (or step) after the shared preprocessing install, with progress shown, so the slow part is separate and visible.
Silent Folders step. "Step 1 of 4 · Folders: Open the run and choose the masks folder; look at its images" showed nothing for about 4 min. Show what is happening (opening the run, scanning masks, reading images) with "n of N" and a timer, like the Run progress of Run: show every check before the first image read, and make the header check linear (v0.9.0 release blocker) #567, and find what takes 4 min (Drive I/O? reading whole images for the preview?).
Downloads. Owner decision: choosing the model, then clicking Preview/Run, counts as consent to download that model's weights.
Remove the "Allow the weights download from Hugging Face" tick boxes and the "Install DINOv3 now" button.
Download only what the chosen model needs, on first use, with a visible "downloading weights…" status and progress.
Record the exact weights (name, source, file hash) in the run.
Never substitute another model and never fall back silently. A failed download is a clear refusal.
Model-running message. During the preview step, show that the model is running ("Running on …"). This is done in v0.9.0 if it was trivial in the stale-results PR; otherwise it goes here.
torch warning. Cellpose's dynamics.py triggers torch's UserWarning: Sparse invariant checks are implicitly disabled…. Opt out explicitly or filter this one warning, narrowly (exact message and module), so users don't see it. Record the setting if it can affect results. It does not; it only controls validation of sparse tensor invariants.
More from the owner's Colab test on 26 Nov, for v0.9.1: the Register-masks section (cell 5).
Representation tick box: "Declare Cells as separate objects" with a TOML preview (representation = "instances"). The owner found it awkward and could not tell why the box must be ticked or what it means. Owner decision: keep the question and never infer the answer, but reword it so the meaning is clear. Ask, per mask type, whether each object has its own number (a label image, where every cell or nucleus is a separate object) or whether the mask is only foreground and background (binary). Add one sentence on why we ask: the two are measured differently, and we never guess which one a file is. Show the TOML only as a detail, if at all.
Register is silent and lags: after clicking Register, something runs but nothing is shown. Show progress (the step, n of N, the current file, a ticking timer) using the Run: show every check before the first image read, and make the header check linear (v0.9.0 release blocker) #567 mechanism, and find what makes it slow. If it reads whole images or masks more than needed, read less, as long as no check becomes weaker. If a check would have to change, ask the owner.
Activity
guijacquemet commentedon Nov 26, 2026
More from the owner's Colab test on 26 Nov, for v0.9.1: the Register-masks section (cell 5).
representation = "instances"). The owner found it awkward and could not tell why the box must be ticked or what it means. Owner decision: keep the question and never infer the answer, but reword it so the meaning is clear. Ask, per mask type, whether each object has its own number (a label image, where every cell or nucleus is a separate object) or whether the mask is only foreground and background (binary). Add one sentence on why we ask: the two are measured differently, and we never guess which one a file is. Show the TOML only as a detail, if at all.Generated by Claude Code
Merge pull request #575 from CellMigrationLab/claude/cellpose-install…
Merge #578 (claude/register-masks-clarity, acfc4d5) into v0.9.1
Merge #576 (claude/cellpose-preview-stale, 1d43cd3) into v0.9.1; mode…