From 8c49141d7b22b1892d38e2cf6a64e9527572f73d Mon Sep 17 00:00:00 2001 From: frauzufall Date: Tue, 10 Mar 2020 20:07:42 +0100 Subject: [PATCH 1/5] adding a structure for giving an overview of csbdeep resources --- docs/howto/csbdeep.html | 89 +++++++++++++++++++++++++++++++++++++++++ docs/howto/style.css | 26 ++++++++++++ 2 files changed, 115 insertions(+) create mode 100644 docs/howto/csbdeep.html create mode 100644 docs/howto/style.css diff --git a/docs/howto/csbdeep.html b/docs/howto/csbdeep.html new file mode 100644 index 0000000..5ac0e47 --- /dev/null +++ b/docs/howto/csbdeep.html @@ -0,0 +1,89 @@ + + + + + +

CSBDeep

+
+
+

CSBDeep for users

+ Deep learning solutions based on CSBDeep: +
+

CARE networks

+

How to use the CARE networks in Python

+
+
Installation
+
+
+
Training
+
+
+
Prediction
+
+

How to export trained CARE networks from Python for Fiji

+

How to use CARE networks in Fiji

+
+
Installation
+
+
+
Prediction
+
+
+
+

StarDist

+

How to use the StarDist in Python

+
+
Installation
+
+
+
Training
+
+
+
Prediction
+
+

How to export trained StarDist model from Python for Fiji

+

How to use StarDist in Fiji

+
+
Installation
+
+
+
Prediction
+
+
+
+

N2V

+

How to use N2V in Python

+
+
Installation
+
+
+
Training
+
+
+
Prediction
+
+

How to export trained N2V model from Python for Fiji

+

How to use N2V in Fiji

+
+
Installation
+
+
+
Training
+
+
+
Prediction
+
+
+
+
+

CSBDeep for developers

+
+

How to use CSBDeep in Python

+
+
+

How to use CSBDeep in Java

+
+
+
+ + diff --git a/docs/howto/style.css b/docs/howto/style.css new file mode 100644 index 0000000..161a5e9 --- /dev/null +++ b/docs/howto/style.css @@ -0,0 +1,26 @@ +html, body { + background: #e1e1e3; +} + +.csbdeep { + display: flex; + align-items: flex-start; +} + +.csbdeep > *{ + margin: 10px; + padding: 10px 20px; +} + +.block { + background: #f1f1f3; + padding: 10px; + margin: 10px; + display: flex; + flex-direction: column; +} + +.block .block { + margin: 5px; + background: white; +} From bb2626825340eebd744562ab9d1478c85a0be18a Mon Sep 17 00:00:00 2001 From: frauzufall Date: Tue, 10 Mar 2020 20:49:19 +0100 Subject: [PATCH 2/5] howtos: add credits, gallery, videos, FAQ --- docs/howto/csbdeep.html | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/docs/howto/csbdeep.html b/docs/howto/csbdeep.html index 5ac0e47..3435782 100644 --- a/docs/howto/csbdeep.html +++ b/docs/howto/csbdeep.html @@ -10,6 +10,10 @@

CSBDeep for users

Deep learning solutions based on CSBDeep:

CARE networks

+

Related publications / credits

+

Acknowledgements

+

Gallery

+

Videos

How to use the CARE networks in Python

Installation
@@ -20,7 +24,7 @@
Training
Prediction
-

How to export trained CARE networks from Python for Fiji

+

How to export trained CARE networks from Python for Fiji and KNIME

How to use CARE networks in Fiji

Installation
@@ -28,9 +32,20 @@
Installation
Prediction
+

How to use CARE networks in KNIME

+
+
Installation
+
+
+
Prediction
+

StarDist

+

Related publications / credits

+

Acknowledgements

+

Gallery

+

Videos

How to use the StarDist in Python

Installation
@@ -52,6 +67,10 @@
Prediction

N2V

+

Related publications / credits

+

Acknowledgements

+

Gallery

+

Videos

How to use N2V in Python

Installation
@@ -76,6 +95,16 @@
Prediction
+

FAQ

+
+

GPU support in Python (Windows, Linux)

+
+
+

GPU support in Java (Windows)

+
+
+

GPU support in Java (Linux)

+

CSBDeep for developers

How to use CSBDeep in Python

From 7ce9ca46db2436bdf34185b2922dc3e4ac4f1d8e Mon Sep 17 00:00:00 2001 From: frauzufall Date: Tue, 10 Mar 2020 20:54:33 +0100 Subject: [PATCH 3/5] howtos: improve FAQ --- docs/howto/csbdeep.html | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/docs/howto/csbdeep.html b/docs/howto/csbdeep.html index 3435782..8fa322d 100644 --- a/docs/howto/csbdeep.html +++ b/docs/howto/csbdeep.html @@ -92,18 +92,21 @@
Training
Prediction
+

FAQ

+
+
How long do I have to train?
+
How much data do I need for training?
+
What about SEM / TEM?
+

FAQ

-

GPU support in Python (Windows, Linux)

-
-
-

GPU support in Java (Windows)

-
-
-

GPU support in Java (Linux)

+

GPU support

+

GPU support in Python (Windows, Linux)

+

GPU support in Java (Windows)

+

GPU support in Java (Linux)

CSBDeep for developers

From 8b9871e37e5b66aca7eda1edc22b3649c88a440f Mon Sep 17 00:00:00 2001 From: frauzufall Date: Wed, 11 Mar 2020 01:34:36 +0100 Subject: [PATCH 4/5] adding csbdeep and stardist resources, N2V FAQ (incomplete) --- docs/howto/csbdeep.html | 118 ++++++++++++++++++++++++++++++++++------ docs/howto/style.css | 3 +- 2 files changed, 101 insertions(+), 20 deletions(-) diff --git a/docs/howto/csbdeep.html b/docs/howto/csbdeep.html index 8fa322d..48037a1 100644 --- a/docs/howto/csbdeep.html +++ b/docs/howto/csbdeep.html @@ -11,23 +11,97 @@

CSBDeep for users

CARE networks

Related publications / credits

+
+

+ Please see the paper in Nature Methods. + (Preprint on bioRxiv) +

+

+ Supplementary material can be downloaded here. +

+
Authors and Contributors
+

+ Martin Weigert1,2,*, + Uwe Schmidt1,2, + Tobias Boothe2, + Andreas Müller8,9,10, + Alexandr Dibrov1,2, + Akanksha Jain2, + Benjamin Wilhelm1,6, + Deborah Schmidt1, + Coleman Broaddus1,2, + Siân Culley4,5, + Mauricio Rocha-Martins1,2, + Fabián Segovia-Miranda2, + Caren Norden2, + Ricardo Henriques4,5, + Marino Zerial1,2, + Michele Solimena2,8,9,10, + Jochen Rink2, + Pavel Tomancak2, + Loic Royer1,2,7,*, + Florian Jug1,2,* + & Eugene W. Myers1,2,3 +

+ 1 Center for Systems Biology Dresden (CSBD), Dresden, Germany
+ 2 Max-Planck Institute of Molecular Cell Biology and Genetics, Dresden, Germany
+ 3 Department of Computer Science, Technical University Dresden
+ 4 MRC Laboratory for Molecular Cell Biology, University College London, London, UK
+ 5 The Francis Crick Institute, London, UK
+ 6 University of Konstanz, Konstanz, Germany
+ 7 CZ Biohub, San Francisco, USA
+ 8 Molecular Diabetology, University Hospital and Faculty of Medicine Carl Gustav Carus, TU Dresden, Dresden, Germany
+ 9 Paul Langerhans Institute Dresden (PLID) of the Helmholtz Center Munich at the University Hospital Carl Gustav Carus and Faculty of Medicine of the TU Dresden, Dresden, Germany
+ 10 German Center for Diabetes Research (DZD e.V.), Neuherberg, Germany
+ * Co-corresponding authors. +

+

Acknowledgements

-

Gallery

-

Videos

+
+ The authors want to thank Philipp Keller (Janelia) who provided Drosophila data. + We thank Suzanne Eaton (MPI-CBG), Franz Gruber and Romina Piscitello for sharing the expertise in fly imaging and providing fly lines. We thank Anke Sönmez for cell culture work. + We thank Marija Matejcic (MPI-CBG) for generating and sharing the LAP2B transgenic line Tg(bactin:eGFP-LAP2B). We thank Benoit Lombardot from the Scientific Computing Facility (MPI-CBG). + We thank the following Services and Facilities of the MPI-CBG for their support: Computer Department, Light Microscopy Facility (LMF) and Fish Facility. + This work was supported by the German Federal Ministry of Research and Education (BMBF) under the codes 031L0102 (de.NBI) and 031L0044 (Sysbio II). + M.S. was supported by the German Center for Diabetes Research (DZD e.V.). + R.H. and S.C. was supported grants from the UK BBSRC (BB/M022374/1; BB/P027431/1; BB/R000697/1), UK MRC (MR/K015826/1) and Wellcome Trust (203276/Z/16/Z). +
+

Gallery

+

Videos

+

Source code

+

How to use the CARE networks in Python

-
Installation
+
Installation
-
Training
+
Model overview
-
Prediction
+
Training data generation
+
+
+
Training
+
+

How to export trained CARE networks from Python for Fiji and KNIME

+
+ Call this method to export after training to export a model as a ZIP which is compatible to running prediction in Fiji: +

+model.export_TF()
+				
+

How to use CARE networks in Fiji

Installation
+
    +
  1. Open the updater and enable update site CSBDeep
  2. +
Prediction
@@ -42,28 +116,32 @@
Prediction

StarDist

-

Related publications / credits

-

Acknowledgements

-

Gallery

-

Videos

-

How to use the StarDist in Python

+

Related publications / credits

+ + +

Source code

+

How to use the StarDist in Python

-
Training
+
Installation
-
Prediction
+
Data annotation
-

How to export trained StarDist model from Python for Fiji

-

How to use StarDist in Fiji

-
Installation
+
Training & prediction
+

How to export trained StarDist model from Python for Fiji

-
Prediction
+ Call this method to export after training to export a model as a ZIP which is compatible to running prediction in Fiji: +

+model.export_TF()
+				
+

How to use StarDist in Fiji

N2V

@@ -95,8 +173,12 @@
Prediction

FAQ

How long do I have to train?
+ Longer. 100 sepochs with 300 steps each for example.
How much data do I need for training?
-
What about SEM / TEM?
+Don't go much smaller than 5000K pixels, e.g. 2000x3000 or 1000x1000x5, ... The more the merrier! If you use the Fiji plugin, you place many of them in the same folder and run the "train on folder" command pointing to this folder. You can use the same folder for training and validation, it will split up the data automatically and use 90% for training and 10% for validation. +
What about SEM / TEM / CMOS?
+
Do training and test data need to be of the same dimensions?
+ No. You can train on bigger images and run the prediction on smaller images. The training data is internally split up into pieces and only a random subset of each batch is fed into the network. You also train on stacks, it'll split them up again into batches internally.
diff --git a/docs/howto/style.css b/docs/howto/style.css index 161a5e9..6691015 100644 --- a/docs/howto/style.css +++ b/docs/howto/style.css @@ -16,11 +16,10 @@ html, body { background: #f1f1f3; padding: 10px; margin: 10px; - display: flex; - flex-direction: column; } .block .block { margin: 5px; background: white; + display: block; } From a2596ae41a0dbf102ad28b1737ec99f5a2c760a0 Mon Sep 17 00:00:00 2001 From: frauzufall Date: Wed, 11 Mar 2020 01:35:38 +0100 Subject: [PATCH 5/5] howtos: fix layout --- docs/howto/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/howto/style.css b/docs/howto/style.css index 6691015..f243b4f 100644 --- a/docs/howto/style.css +++ b/docs/howto/style.css @@ -4,7 +4,7 @@ html, body { .csbdeep { display: flex; - align-items: flex-start; + flex-direction: column; } .csbdeep > *{