Skip to content

Commit

Permalink
Merge pull request #7 from janelia-cellmap/aemmav-patch-1
Browse files Browse the repository at this point in the history
Update README.md with more cellpose models
  • Loading branch information
rhoadesScholar authored Aug 6, 2024
2 parents 0b76c7a + 8f047c6 commit b9db331
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/cellmap_models/pytorch/cellpose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,51 @@ This directory contains scripts for downloading finetuned Cellpose models, parti

**jrc_mus-epididymis-2_nuc_cp:**

**jrc_mus-granule-neurons-1_nuc_cp:** Cellpose was trained on nuclei from 12 2D slices from jrc_mus-granule-neurons-1.

**jrc_mus-granule-neurons-2_nuc_cp:** Cellpose was trained on nuclei from 10 2D slices from jrc_mus-granule-neurons-2.

**jrc_mus-granule-neurons-3_nuc_cp:** Cellpose was trained on nuclei from 21 2D slices from jrc_mus-granule-neurons-3.

**jrc_mus-guard-hair-follicle_nuc_cp:** Cellpose was trained on nuclei from 22 2D slices from jrc_mus-guard-hair-follicle.

**jrc_mus-heart-1_ecs_cp:**

**jrc_mus-heart-1_nuc_cp:**

**jrc_mus-hippocampus-1_nuc_cp:**

**jrc_mus-kidney_nuc_cp:** Cellpose was trained on nuclei from 28 2D slices from jrc_mus-kidney.

**jrc_mus-kidney-2_nuc_cp:** Cellpose was trained on nuclei from 38 2D slices from jrc_mus-kidney-2.

**jrc_mus-kidney-3_nuc_cp:**

**jrc_mus-liver-2_nuc_cp:** Cellpose was trained on nuclei from 29 2D slices from jrc_mus-liver-2.

**jrc_mus-liver-3_nuc_cp:**

**jrc_mus-meisnner-corpuscle-1_nuc_cp:** Cellpose was trained on nuclei from 21 2D slices from jrc_mus-meisnner-corpuscle-1.

**jrc_mus-meisnner-corpuscle-2_nuc_cp:** Cellpose was trained on nuclei from 27 2D slices from jrc_mus-meisnner-corpuscle-2.

**jrc_mus-pacinian-corpuscle_nuc_cp:** Cellpose was trained on nuclei from 31 2D slices from jrc_mus-pacinian-corpuscle.

**jrc_mus-pancreas-1_nuc_cp:** Cellpose was trained on nuclei from 34 2D slices from jrc_mus-pancreas-1.

**jrc_mus-pancreas-2_nuc_cp:** Cellpose was trained on nuclei from 30 2D slices from jrc_mus-pancreas-2.

**jrc_mus-pancreas-3_nuc_cp:** Cellpose was trained on nuclei from 4 2D slices from jrc_mus-pancreas-3.

**jrc_mus-pancreas-4_nuc_cp:** Cellpose was trained on nuclei from 17 2D slices from jrc_mus-pancreas-4.

**jrc_mus-skin-1_nuc_cp:**

**jrc_mus-thymus-1_nuc_cp:**

### Trained on fly tissues
**jrc_fly-mb-z0419-20:** Cellpose was trained on nuclei from 32 2D slices from jrc_fly-mb-z0419-20.

## Usage

Once you have chosen a model based on the descriptions above, you can download its weights from the `cellmap-models` repository and use them as described below:
Expand Down
14 changes: 14 additions & 0 deletions src/cellmap_models/pytorch/cellpose/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,27 @@
from .download_checkpoint import download_checkpoint

models_dict = {
"jrc_fly-mb-z0419-20_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.08.06/jrc_fly-mb-z0419-20_nuc_cp",
"jrc_mus-epididymis-1_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.03.08/jrc_mus-epididymis-1_nuc_cp",
"jrc_mus-epididymis-2_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.03.08/jrc_mus-epididymis-2_nuc_cp",
"jrc_mus-granule-neurons-1_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.08.06/jrc_mus-granule-neurons-1_nuc_cp",
"jrc_mus-granule-neurons-2_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.08.06/jrc_mus-granule-neurons-2_nuc_cp",
"jrc_mus-granule-neurons-3_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.08.06/jrc_mus-granule-neurons-3_nuc_cp",
"jrc_mus-guard-hair-follicle_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.08.06/jrc_mus-guard-hair-follicle_nuc_cp",
"jrc_mus-heart-1_ecs_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.03.08/jrc_mus-heart-1_ecs_cp",
"jrc_mus-heart-1_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.03.08/jrc_mus-heart-1_nuc_cp",
"jrc_mus-hippocampus-1_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.03.08/jrc_mus-hippocampus-1_nuc_cp",
"jrc_mus-kidney_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.08.06/jrc_mus-kidney_nuc_cp",
"jrc_mus-kidney-2_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.08.06/jrc_mus-kidney-2_nuc_cp",
"jrc_mus-kidney-3_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.03.08/jrc_mus-kidney-3_nuc_cp",
"jrc_mus-liver-2_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.08.06/jrc_mus-liver-2_nuc_cp",
"jrc_mus-liver-3_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.03.08/jrc_mus-liver-3_nuc_cp",
"jrc_mus-meissner-corpuscle-1_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.08.06/jrc_mus-meissner-corpuscle-1_nuc_cp",
"jrc_mus-meissner-corpuscle-2_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.08.06/jrc_mus-meissner-corpuscle-2_nuc_cp",
"jrc_mus-pacinian-corpuscle_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.08.06jrc_mus-pacinian-corpuscle_nuc_cp",
"jrc_mus-pancreas-1_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.08.06/jrc_mus-pancreas-1_nuc_cp",
"jrc_mus-pancreas-2_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.08.06/jrc_mus-pancreas-2_nuc_cp",
"jrc_mus-pancreas-3_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.08.06/jrc_mus-pancreas-3_nuc_cp",
"jrc_mus-pancreas-4_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.03.08/jrc_mus-pancreas-4_nuc_cp",
"jrc_mus-skin-1_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.03.08/jrc_mus-skin-1_nuc_cp",
"jrc_mus-thymus-1_nuc_cp": "https://github.com/janelia-cellmap/cellmap-models/releases/download/2024.03.08/jrc_mus-thymus-1_nuc_cp",
Expand Down

0 comments on commit b9db331

Please sign in to comment.