Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2021 Jan;18(1):43-45.
doi: 10.1038/s41592-020-01023-0. Epub 2021 Jan 4.

DeepCell Kiosk: scaling deep learning-enabled cellular image analysis with Kubernetes

Affiliations

DeepCell Kiosk: scaling deep learning-enabled cellular image analysis with Kubernetes

Dylan Bannon et al. Nat Methods. 2021 Jan.

Erratum in

Abstract

Deep learning is transforming the analysis of biological images, but applying these models to large datasets remains challenging. Here we describe the DeepCell Kiosk, cloud-native software that dynamically scales deep learning workflows to accommodate large imaging datasets. To demonstrate the scalability and affordability of this software, we identified cell nuclei in 106 1-megapixel images in ~5.5 h for ~US$250, with a cost below US$100 achievable depending on cluster configuration. The DeepCell Kiosk can be downloaded at https://github.com/vanvalenlab/kiosk-console ; a persistent deployment is available at https://deepcell.org/ .

PubMed Disclaimer

Conflict of interest statement

Competing interests

The authors have filed a provisional patent for the described work; the software described here is available under a modified Apache license and is free for non-commercial uses.

Figures

Fig. 1 |
Fig. 1 |. Architecture and performance of the DeepCell Kiosk.
a, Data flow through the DeepCell Kiosk. Images submitted to a running Kiosk cluster are entered into a queue. Once there, images are processed by objects called consumers, which execute all the computational operations in a given pipeline. Consumers perform most computations themselves but access deep learning by submitting data to TensorFlow Serving and capturing the result. This separation allows conventional operations and deep learning operations to occur on different types of nodes, which is essential for efficient resource allocation. After processing, the result is returned to the queue, ready to be downloaded by the user. b, Left, benchmarking of inference speed demonstrating scaling to large imaging datasets (see the Supplementary Information for details). Throughput is ultimately limited by data transfer speed. right, an analysis of cost demonstrating affordability. network costs are incurred by inter-zone network traffic in multi-zone clusters, which are more stable and scale faster than their single-zone counterparts. This cost can be avoided when users configure a single-zone cluster. Benchmarking was performed once for 1 million (M) image runs and in triplicate otherwise. Error bars, when present, represent the s.d. of replicate measurements. c, The DeepCell Kiosk enables construction and scaling of multi-model pipelines. For example, a live-cell imaging consumer can access deep learning models for both segmentation and tracking. The live-cell imaging consumer places the frames for a movie into the queue for a segmentation consumer, where they are processed in parallel. Once segmented, the images are processed by a tracking consumer to link cells together over time and to construct lineages. The results, which consist of label images of segmented and tracked cells as well as a JSOn file describing mother–daughter relationships, are uploaded to a cloud bucket, from which they can be downloaded by the user.

References

    1. Ouyang W et al. Analysis of the Human Protein Atlas Image Classification competition. Nat. Methods 16, 1254–1261 (2019). - PMC - PubMed
    1. Falk T et al. U-Net: deep learning for cell counting, detection, and morphometry. Nat. Methods 16, 67–70 (2019). - PubMed
    1. Van Valen DA et al. Deep learning automates the quantitative analysis of individual cells in live-cell imaging experiments. PLoS Comput. Biol 12, e1005177 (2016). - PMC - PubMed
    1. Schmidt U, Weigert M, Broaddus C & Myers G Cell detection with star-convex polygons. In Medical Image Computing and Computer Assisted Intervention—MICCAI 2018 (eds. Frangi AF et al.) 265–273 (Springer International Publishing, 2018).
    1. Moen E et al. Accurate cell tracking and lineage construction in live-cell imaging experiments with deep learning. Preprint at bioRxiv 10.1101/803205 (2019). - DOI

Publication types