Skip to content

Commit

Permalink
adding back in CPx model (#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
carsen-stringer committed Sep 12, 2024
1 parent aea1c85 commit 209a232
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions cellpose/gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,15 +695,16 @@ def make_buttons(self):
self.modelBoxG.addWidget(self.ModelButtonC, b0, 8, 1, 1)
self.ModelButtonC.setEnabled(False)

# compute segmentation with style model
self.net_names = [
"nuclei", "cyto2_cp3", "tissuenet_cp3", "livecell_cp3", "yeast_PhC_cp3",
"yeast_BF_cp3", "bact_phase_cp3", "bact_fluor_cp3", "deepbacs_cp3"
]
"yeast_BF_cp3", "bact_phase_cp3", "bact_fluor_cp3", "deepbacs_cp3",
"cyto", "cyto2", "CPx"]

nett = [
"nuclei", "cellpose (cyto2_cp3)", "tissuenet_cp3", "livecell_cp3",
"yeast_PhC_cp3", "yeast_BF_cp3", "bact_phase_cp3", "bact_fluor_cp3",
"deepbacs_cp3"
"deepbacs_cp3", "cyto", "cyto2",
"CPx (from Cellpose2)"
]
b0 += 1
self.ModelChooseB = QComboBox()
Expand Down
2 changes: 1 addition & 1 deletion cellpose/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

MODEL_NAMES = [
"cyto3", "nuclei", "cyto2_cp3", "tissuenet_cp3", "livecell_cp3", "yeast_PhC_cp3",
"yeast_BF_cp3", "bact_phase_cp3", "bact_fluor_cp3", "deepbacs_cp3", "cyto2", "cyto",
"yeast_BF_cp3", "bact_phase_cp3", "bact_fluor_cp3", "deepbacs_cp3", "cyto2", "cyto", "CPx",
"transformer_cp3", "neurips_cellpose_default", "neurips_cellpose_transformer",
"neurips_grayscale_cyto2"
]
Expand Down

0 comments on commit 209a232

Please sign in to comment.