feat(dynacell): pix2pix3d nucleus predict leaves wired to modernized GAN checkpoints#458
Merged
alxndrkalinin merged 2 commits intoJun 4, 2026
Conversation
…rained checkpoints
Point the 8 existing pix2pix3d_unetvit nucleus predict leaves (ipsc_confocal
and joint, x4 predict-sets each) at the best loss/validate_ema checkpoints
from the modernized Run-D 40-epoch runs:
iPSC -> epoch=15-step=51200 (job 33501549)
joint -> epoch=39-step=214400 (job 33502019)
Predict uses the EMA generator (use_ema_at_predict=True default).
Also add `dataset_ref: {target: h2b}` to the six a549 predict leaves: the
A549 manifest keys nucleus by gene (`h2b`), so the iPSC-side `nucleus` target
inherited from targets/nucleus.yml would otherwise raise TargetNotFoundError.
Latent on the base branch — the leaves were unwired (REPLACE_ME / stale path).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add the four missing predict leaves for the a549_mantis-trained pix2pix3d_unetvit nucleus model (best checkpoint epoch=39-step=86400, job 33501550), predicting against ipsc_confocal + a549 h2b mock/denv/zikv. Output stores carry the `_a549trained` infix (matching the fnet3d_paper convention) so they do not collide with the iPSC-trained predictions in the shared a549/predictions and ipsc/predictions dirs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the DynaCell benchmark nucleus / pix2pix3d_unetvit predict leaves to (1) point at the finalized modernized GAN checkpoints, (2) fix A549 dataset_ref.target resolution by overriding the nucleus target to h2b, and (3) add the previously-missing A549-trained predict leaves with non-colliding output stores.
Changes:
- Replace placeholder/stale
ckpt_pathentries with the selected modernized Run-D checkpoints (iPSC-trained and joint-trained leaves). - Fix A549 predict leaves by overriding
benchmark.dataset_ref.target: h2bso manifest resolution succeeds. - Add the missing
a549_mantis/pix2pix3d_unetvit nucleus predict leaves (including_a549trainedoutput store naming).
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| applications/dynacell/configs/benchmarks/virtual_staining/nucleus/pix2pix3d_unetvit/joint_ipsc_confocal_a549_mantis/predict__ipsc_confocal.yml | Update joint-trained predict leaf to the selected modernized checkpoint. |
| applications/dynacell/configs/benchmarks/virtual_staining/nucleus/pix2pix3d_unetvit/joint_ipsc_confocal_a549_mantis/predict__a549_mantis_zikv.yml | Add dataset_ref.target: h2b override and update checkpoint for A549 ZIKV cross-predict. |
| applications/dynacell/configs/benchmarks/virtual_staining/nucleus/pix2pix3d_unetvit/joint_ipsc_confocal_a549_mantis/predict__a549_mantis_mock.yml | Add dataset_ref.target: h2b override and update checkpoint for A549 mock cross-predict. |
| applications/dynacell/configs/benchmarks/virtual_staining/nucleus/pix2pix3d_unetvit/joint_ipsc_confocal_a549_mantis/predict__a549_mantis_denv.yml | Add dataset_ref.target: h2b override and update checkpoint for A549 DENV cross-predict. |
| applications/dynacell/configs/benchmarks/virtual_staining/nucleus/pix2pix3d_unetvit/ipsc_confocal/predict__ipsc_confocal.yml | Wire iPSC-trained predict leaf to the selected modernized checkpoint. |
| applications/dynacell/configs/benchmarks/virtual_staining/nucleus/pix2pix3d_unetvit/ipsc_confocal/predict__a549_mantis_zikv.yml | Add dataset_ref.target: h2b override and use iPSC modernized checkpoint for A549 ZIKV cross-predict. |
| applications/dynacell/configs/benchmarks/virtual_staining/nucleus/pix2pix3d_unetvit/ipsc_confocal/predict__a549_mantis_mock.yml | Add dataset_ref.target: h2b override and use iPSC modernized checkpoint for A549 mock cross-predict. |
| applications/dynacell/configs/benchmarks/virtual_staining/nucleus/pix2pix3d_unetvit/ipsc_confocal/predict__a549_mantis_denv.yml | Add dataset_ref.target: h2b override and use iPSC modernized checkpoint for A549 DENV cross-predict. |
| applications/dynacell/configs/benchmarks/virtual_staining/nucleus/pix2pix3d_unetvit/a549_mantis/predict__ipsc_confocal.yml | New A549-trained leaf predicting on iPSC test set, using _a549trained output naming. |
| applications/dynacell/configs/benchmarks/virtual_staining/nucleus/pix2pix3d_unetvit/a549_mantis/predict__a549_mantis_zikv.yml | New A549-trained leaf for A549 ZIKV test set with dataset_ref.target: h2b. |
| applications/dynacell/configs/benchmarks/virtual_staining/nucleus/pix2pix3d_unetvit/a549_mantis/predict__a549_mantis_mock.yml | New A549-trained leaf for A549 mock test set with dataset_ref.target: h2b. |
| applications/dynacell/configs/benchmarks/virtual_staining/nucleus/pix2pix3d_unetvit/a549_mantis/predict__a549_mantis_denv.yml | New A549-trained leaf for A549 DENV test set with dataset_ref.target: h2b. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
alxndrkalinin
merged commit Jun 4, 2026
3d5bc6d
into
dynacell-cellpose-watershed-eval
1 check passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on top of #449 (base =
dynacell-cellpose-watershed-eval).Prepares the full nucleus predict matrix for the three modernized
pix2pix3d_unetvitGANs trained to completion (iPSC / A549 / joint,Run-D recipe, 40 ep). 13-file delta on top of the eval branch — which
already carries the modernized engine + overlays and the
hardware_predict_any_gpumigration, so this is config-only.Changes
1. Wire trained checkpoints into the 8 existing predict leaves (
ba72c77)Replace the
REPLACE_ME/ stale paths with the bestloss/validate_emacheckpoints from the modernized runs:
epoch=15-step=51200epoch=39-step=214400Predict uses the EMA generator (
use_ema_at_predict=True, engine default).2. Fix a latent
TargetNotFoundError(same commit)The six a549 predict leaves lacked
dataset_ref: {target: h2b}. The A549manifest keys nucleus by gene (
h2b), so the iPSC-sidenucleustargetinherited from
targets/nucleus.ymlwould fail to resolve. Bug is presenton the base branch (leaves were never wired, so it was never hit).
3. Add the 4 missing a549-trained predict leaves (
a55517e)a549_mantishad no predict leaves. Added ipsc_confocal + a549 h2bmock/denv/zikv, best checkpoint
epoch=39-step=86400(job 33501550).Output stores use the
_a549trainedinfix (fnet3d_paper convention) toavoid colliding with iPSC-trained predictions in the shared dirs.
Validation
All 12 leaves compose and resolve via
submit_benchmark_job.py --print-resolved-config(exit 0), each to the correct test store(
cell.zarrfor iPSC;H2B_{mock,DENV,ZIKV}.ozxfor a549); all threecheckpoints verified on disk.
🤖 Generated with Claude Code