Skip to content

CellSMB/EM-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EM-net

This repository is official implementation of EM-net: Deep learning for electron microscopy image segmentation on Google Colab.

Important: For better and ultimate inference results, we recommend the users to switch to the Colab Pro where they can utilise Tesla P100 GPU.


This notebook represents the implementation of the EM-net. In addition to the EM-net, a variety of other deep learning methods have also been implemented including U-net, SegNet, ResNet and VGG. All these networks represent a similar encoding-decoding scheme for image segmentation. We have implemented a variety of evaluation metrics which allows you to obtain the maximum desirable performance. Moreover, this notebook offers K-fold cross valiadtion that can be used for training these networks when the training data is limited. Finally, this notebook will enable the users to use ensemble of desirable models for final stage inference on the test data.


Papers related to this Notebook:

Please cite this original paper when using or developing this notebook.

This notebook is adapted and developed from the ZeroCostDL4Mic.


How to use?!

We have provided the instructions for the usage of this Notebook in the following YouTube link:

  • YoutTube Video: Walk through the pipeline including data upload, training and deploying the trained model.

Important: Make sure that you create a copy of the following Colab Notebook on your Google Drive before running or making any changes to the notebook

We have provided the instructions for the usage of this Notebook in the following link:

  • Colab Notebook: Walk through the pipeline including data upload, training and deploying the trained model.

Structure of a notebook

The notebook contains two types of cell:

Text cells provide information and can be modified by douple-clicking the cell. You are currently reading the text cell. You can create a new text by clicking + Text.

Code cells contain code and the code can be modfied by selecting the cell. To execute the cell, move your cursor on the [ ]-mark on the left side of the cell (play button appears). Click to execute the cell. After execution is done the animation of play button stops. You can create a new coding cell by clicking + Code.


Table of contents, Code snippets and Files

On the top left side of the notebook you find three tabs which contain from top to bottom:

Table of contents = contains structure of the notebook. Click the content to move quickly between sections.

Code snippets = contain examples how to code certain tasks. You can ignore this when using this notebook.

Files = contain all available files. After mounting your google drive (see section 1.) you will find your files and folders here.

Remember that all uploaded files are purged after changing the runtime. All files saved in Google Drive will remain. You do not need to use the Mount Drive-button; your Google Drive is connected in section 1.2.

Note: The "sample data" in "Files" contains default files. Do not upload anything in here!


Making changes to the notebook

You can make a copy of the notebook and save it to your Google Drive. To do this click file -> save a copy in drive.

To edit a cell, double click on the text. This will show you either the source code (in code cells) or the source text (in text cells). You can use the #-mark in code cells to comment out parts of the code. This allows you to keep the original code piece in the cell as a comment.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published