yifanren commited on
Commit
50e9fc1
·
verified ·
1 Parent(s): e2c889b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -9,16 +9,17 @@ tags:
9
  - micronuclei-segmentation
10
  ---
11
 
12
- # mn-DINO
13
- Detecting micronuclei in images using DINOv2 backbone
14
 
15
-
16
- # Install package
 
17
  ```bash
18
  pip install mndino
19
  ```
20
 
21
- # Load the model
22
  ```python
23
  import torch
24
  from mndino import mnmodel
@@ -30,7 +31,7 @@ model = mnmodel.MicronucleiModel(device=device)
30
  model.load(model_path)
31
  ```
32
 
33
- # Make predictions
34
  ```python
35
  import skimage
36
  import numpy as np
@@ -47,12 +48,11 @@ mn_predictions = probabilities[0,:,:] > THRESHOLD
47
  nuclei_predictions = probabilities[1,:,:] > THRESHOLD
48
  ```
49
 
50
- # Evaluation
51
  ```python
52
  import skimage
53
  from mndino import evaluation
54
 
55
  mn_gt = skimage.io.imread(your_annotated_image_path)
56
  precision, recall = evaluation.segmentation_report(predictions=mn_predictions, gt=mn_gt, intersection_ratio=0.1, wandb_mode=False)
57
-
58
-
 
9
  - micronuclei-segmentation
10
  ---
11
 
12
+ # mnDINO: Accurate and robust segmentation of micronuclei with vision transformer networks
13
+ Here we present a segmentation model, mnDINO, to segment micronuclei in DNA stained images under diverse experimental conditions with very high efficiency and accuracy. To train this model, we collected a heterogeneous set of images with more than five thousand annotated micronuclei. Trained with this diverse resource, the mnDINO model improves the accuracy of MN segmentation, and exhibits strong generalization across microscopes and cell lines. The dataset, code, and pre-trained model are made publicly available to facilitate future research in MN biology.
14
 
15
+ This repository provides the pre-trained mnDINO model for our paper: [mnDINO: Accurate and robust segmentation of micronuclei with vision transformer networks](). The official PyTorch source code is publicly available on [GitHub](https://github.com/CaicedoLab/micronuclei-detection), and the annotated micronuclei dataset can be downloaded through the [Bioimage Archive](https://www.ebi.ac.uk/biostudies/bioimages/studies/S-BIAD2809).
16
+ # Usage
17
+ ### Install Package
18
  ```bash
19
  pip install mndino
20
  ```
21
 
22
+ ### Load the model
23
  ```python
24
  import torch
25
  from mndino import mnmodel
 
31
  model.load(model_path)
32
  ```
33
 
34
+ ### Make predictions
35
  ```python
36
  import skimage
37
  import numpy as np
 
48
  nuclei_predictions = probabilities[1,:,:] > THRESHOLD
49
  ```
50
 
51
+ ### Evaluation
52
  ```python
53
  import skimage
54
  from mndino import evaluation
55
 
56
  mn_gt = skimage.io.imread(your_annotated_image_path)
57
  precision, recall = evaluation.segmentation_report(predictions=mn_predictions, gt=mn_gt, intersection_ratio=0.1, wandb_mode=False)
58
+ ```