Skip to content

Commit 7d2361c

Browse files
authored
Merge pull request #73 from watarungurunnn/wataru/instruction
Add instruction to install from the source
2 parents c89fde1 + 6e30efd commit 7d2361c

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,19 @@
2626
### Installation
2727
```python
2828
pip install devolearn
29+
30+
# or you can build from the source:
31+
pip install git+https://github.com/DevoLearn/devolearn
2932
```
3033
### Example notebooks
3134
<p align="center">
3235
<img src = "https://raw.githubusercontent.com/DevoLearn/data-science-demos/master/Networks/nodes_matrix_long_smooth.gif" width = "40%">
33-
<img src = "https://raw.githubusercontent.com/DevoLearn/data-science-demos/master/Networks/3d_node_map.gif" width = "40%">
36+
<img src = "https://raw.githubusercontent.com/DevoLearn/data-science-demos/master/Networks/3d_node_map.gif" width = "40%">
3437
</p>
3538

3639
* [Extracting centroid maps and making 3d centroid models](https://nbviewer.jupyter.org/github/DevoLearn/data-science-demos/blob/master/Networks/experiments_with_devolearn_node_maps.ipynb)
3740

38-
### Segmenting the Cell Membrane in C. elegans embryo
41+
### Segmenting the Cell Membrane in C. elegans embryo
3942
<p align="center">
4043
<img src = "https://raw.githubusercontent.com/DevoLearn/devolearn/master/images/pred_centroids.gif" width = "80%">
4144
</p>
@@ -54,7 +57,7 @@ plt.imshow(seg_pred)
5457
plt.show()
5558
```
5659

57-
* Running the model on a video and saving the predictions into a folder
60+
* Running the model on a video and saving the predictions into a folder
5861
```python
5962
filenames = segmentor.predict_from_video(video_path = "sample_data/videos/seg_sample.mov", centroid_mode = False, save_folder = "preds")
6063
```
@@ -73,7 +76,7 @@ df = segmentor.predict_from_video(video_path = "sample_data/videos/seg_sample.mo
7376
df.to_csv("centroids.csv")
7477
```
7578

76-
### Segmenting the Cell Nucleus in C. elegans embryo
79+
### Segmenting the Cell Nucleus in C. elegans embryo
7780
<p align="center">
7881
<img src = "https://github.com/Mainakdeb/devolearn/blob/master/images/nucleus_segmentation.gif" width = "60%">
7982
</p>
@@ -106,7 +109,7 @@ generator = embryo_generator_model()
106109

107110
* Generating a picture and viewing it with [matplotlib](https://matplotlib.org/)
108111
```python
109-
gen_image = generator.generate()
112+
gen_image = generator.generate()
110113
plt.imshow(gen_image)
111114
plt.show()
112115

@@ -126,7 +129,7 @@ generator.generate_n_images(n = 5, foldername= "generated_images", image_size= (
126129
<img src = "https://raw.githubusercontent.com/devoworm/GSoC-2020/master/Pre-trained%20Models%20(DevLearning)/images/resnet_preds_with_input.gif" width = "60%">
127130
</p>
128131

129-
* Importing the population model for inferences
132+
* Importing the population model for inferences
130133
```python
131134
from devolearn import lineage_population_model
132135
```
@@ -156,6 +159,8 @@ plot.show()
156159
| **Model** | **Data source** |
157160
|-------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|
158161
| Segmenting the cell membrane in C. elegans embryo | [3DMMS: robust 3D Membrane Morphological Segmentation of C. elegans embryo](https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-019-2720-x#Abs1/) |
162+
| Segmenting the nucleus in C. elegans embryo | [C. elegans Cell-Tracking-Challenge dataset](http://celltrackingchallenge.net/3d-datasets/)
163+
| Cell lineage population prediction + embryo GAN | [EPIC dataset](https://epic.gs.washington.edu/)
159164
| Segmenting the nucleus in C. elegans embryo | [C. elegans Cell-Tracking-Challenge dataset](http://celltrackingchallenge.net/3d-datasets/)
160165
| Cell lineage population prediction + embryo GAN | [EPIC dataset](https://epic.gs.washington.edu/)
161166

0 commit comments

Comments
 (0)