Skip to main content

A Deep learning pipeline for segmentation of fluorescent labels in microscopy images

Project description

deepflash2

Official repository of DeepFLasH2 - a deep learning pipeline for segmentation of fluorescent labels in microscopy images.

CI PyPI Conda (channel only) Build fastai images

Why using deepflash2?

The best of two worlds: Combining state of the art deep learning with a barrier free environment for life science researchers.

  • End-to-end process for life science researchers
    • no coding skills required
    • free usage on Google Colab at no costs
    • easy deployment on own hardware
  • Rigorously evaluated deep learning models
    • Model Library
    • easy integration new (pytorch) models
  • Best practices model training
    • leveraging the fastai library
    • mixed precision training
    • learning rate finder and fit one cycle policy
    • advanced augementation
  • Reliable prediction on new data
    • leveraging Bayesian Uncertainties

Workflow

tbd

Installing

You can use deepflash2 by using Google Colab. You can run every page of the documentation as an interactive notebook - click "Open in Colab" at the top of any page to open it.

  • Be sure to change the Colab runtime to "GPU" to have it run fast!
  • Use Firefox or Google Chrome if you want to upload your images.

You can install deepflash2 on your own machines with conda (highly recommended):

conda install -c fastai -c pytorch -c matjesg deepflash2 

To install with pip, use

pip install deepflash2

If you install with pip, you should install PyTorch first by following the PyTorch installation instructions.

Using Docker

Docker images for deepflash2 are built on top of the latest pytorch image and fastai images. You must install Nvidia-Docker to enable gpu compatibility with these containers.

  • CPU only

docker run -p 8888:8888 matjesg/deepflash

  • With GPU support (Nvidia-Docker must be installed.) has an editable install of fastai and fastcore.

docker run --gpus all -p 8888:8888 matjesg/deepflash All docker containers are configured to start a jupyter server. deepflash2 notebooks are available in the deepflash2_notebooks folder.

For more information on how to run docker see docker orientation and setup and fastai docker.

Model Library

We provide a model library with pretrained model weights. Visit our model library documentation for information on the datasets of the pretrained models.

Creating segmentation masks with Fiji/ImageJ

If you don't have labelled training data available, you can use this instruction manual for creating segmentation maps. The ImagJ-Macro is available here.

Acronym

A Deep-learning pipeline for Fluorescent Label Segmentation that learns from Human experts

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deepflash2-0.0.11.tar.gz (26.7 kB view details)

Uploaded Source

Built Distribution

deepflash2-0.0.11-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

Details for the file deepflash2-0.0.11.tar.gz.

File metadata

  • Download URL: deepflash2-0.0.11.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.3

File hashes

Hashes for deepflash2-0.0.11.tar.gz
Algorithm Hash digest
SHA256 9173e6bcd5c5b82612256f6c8c8410e53afcec439ea3b6ec84c72de80b19f2c9
MD5 ef46c2e27e9916e57abe61cb6330e678
BLAKE2b-256 2d80fd200ff984ca1cfe5f98f26637675b2588e86584c02b70a561bbbe09828f

See more details on using hashes here.

File details

Details for the file deepflash2-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: deepflash2-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 25.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.3

File hashes

Hashes for deepflash2-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 2e30ee74de39f48f11cd6505e15f10246b9a4a8f4535e0f2523d0c3327d9ed6b
MD5 6f94e32d3ca77c04ba356f7df3d34b78
BLAKE2b-256 d300b47121b7978dcf72ae0d862d24af659fc863eb79b10093959cbd17b5f178

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page