File size: 1,329 Bytes
cf34f51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
license: cc-by-4.0
library_name: cellpose
tags:
- cellpose
- cellpose-sam
- organoid
- segmentation
- microscopy
---

# organoid-segmenter (`shape_seg_co`)

A Cellpose-SAM (`cpsam`) checkpoint fine-tuned for whole-organoid instance segmentation of human cardiac organoids
in phase-contrast images. It is the organoid model of [SHAPE](https://github.com/xuekunwu/SHAPE)'s
`Organoid_Segmenter_Tool` in the cardiac organoid case studies:

- `case studies/cardiac organoids/timecourse` (`--organoid-model`),
- `case studies/cardiac organoids/drug_screen` (`CO_ORGANOID_MODEL`),
- `case studies/cardiac organoids/segmentation` (the `shape_seg_co` arm, `--model-path`).

| file | size | sha256 |
|---|---|---|
| `shape_seg_co` | 1,218,642,694 bytes | `f125b9754521efa042ef1ee614d8d900843b2c933517f393daf2e37268d20c48` |

The sha256 is the one the published SHAPE runs record (`organoid_model_sha256`).

## Download

```
hf download SHAPE-agent/organoid-segmenter shape_seg_co --local-dir models
```

## Use

With SHAPE, pass the file to the tool (`model_path`) or set `SHAPE_ORGANOID_MODEL_PATH=models/shape_seg_co`.
With Cellpose 4 directly:

```python
from cellpose import models

model = models.CellposeModel(gpu=True, pretrained_model="models/shape_seg_co")
masks, flows, styles = model.eval(image)
```

## License

CC BY 4.0.