<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Documentation%2F4.10%2FModules%2FDeepInfer</id>
	<title>Documentation/4.10/Modules/DeepInfer - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Documentation%2F4.10%2FModules%2FDeepInfer"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/DeepInfer&amp;action=history"/>
	<updated>2026-04-04T15:21:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/DeepInfer&amp;diff=60111&amp;oldid=prev</id>
		<title>UpdateBot: Nightly -&gt; 4.10</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/DeepInfer&amp;diff=60111&amp;oldid=prev"/>
		<updated>2018-10-19T00:46:10Z</updated>

		<summary type="html">&lt;p&gt;Nightly -&amp;gt; 4.10&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
Extension: [[Documentation/{{documentation/version}}/Extensions/DeepInfer|DeepInfer]]&amp;lt;br&amp;gt;&lt;br /&gt;
Acknowledgments:&lt;br /&gt;
This work is funded by NIH Grant No.P41EB015898, Natural Sciences andEngineering Research Council (NSERC) of Canada and the Canadian Institutes of Health Research (CIHR).&amp;lt;br&amp;gt;&lt;br /&gt;
Authors: Alireza Mehrtash({{collaborator|name|spl}}), Mehran Pesteie ({{collaborator|name|ubc}})&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Alireza Mehrtash, &amp;lt;email&amp;gt;mehrtash@bwh.harvard.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
webite: [http://www.deepinfer.org/ DeepInfer Website]&amp;lt;br&amp;gt;&lt;br /&gt;
License: [http://www.slicer.org/pages/LicenseText Slicer License]&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|{{collaborator|logo|spl}}|{{collaborator|longname|spl}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
[[File:Deepinfer-256.png|128px|]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
DeepInfer is an open-source deep learning deployment toolkit for medical imaging and image-guided therapy. With DeepInfer 3D Slicer users can deploy trained&lt;br /&gt;
deep learning and machine learning models in their workflow. Also,  DeepInfer allows machine learning experts to package,&lt;br /&gt;
ship, and deploy their models, thereby additionally allowing clinical researchers and biomedical engineers to use&lt;br /&gt;
task-specific deep models, without the need for further software development and configuration.&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Setup Guide}}&lt;br /&gt;
In order to use DeepInfer, [https://www.docker.com/ Docker] is required to be installed and configured properly.&lt;br /&gt;
==== Windows ====&lt;br /&gt;
Docker for Windows requires Windows 10 Pro (64bit) and Microsoft Hyper-V. You also need to enable virtualization in BIOS settings.&lt;br /&gt;
* [https://docs.docker.com/docker-for-windows/install/ Docker installation guide for Windows]&lt;br /&gt;
* VERY IMPORTANT: Share drive C with docker containers from settings.&lt;br /&gt;
[[File:DockerWindows.PNG|600px|]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Mac OS X ====&lt;br /&gt;
* [https://docs.docker.com/docker-for-mac/install/#install-and-run-docker-for-mac Docker installation guide for MAC]&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu ====&lt;br /&gt;
* [https://docs.docker.com/engine/installation/linux/ubuntu/ Docker installation guide for Ubuntu]&lt;br /&gt;
* Give non-root access to docker using this [http://askubuntu.com/a/477554 guide].&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Demo}}&lt;br /&gt;
* [https://www.youtube.com/watch?v=7k_SLtmM2Kw Demo Video]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
[[File:Deepinfer-panels.png|600px|]]&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Deployed Models}}&lt;br /&gt;
==== Prostate Segmentation in Targeted MRI-Guided Biopsy ====&lt;br /&gt;
This model is trained for the task of rough delineation of the prostate gland that is a necessary step in MRI-guided targeted biopsy. The deployed model is trained on transaxial T2-weighted MRIs of the prostate (without endorectal coil on a 3T MRI machine) collected during MR-guided prostate biopsy procedures. The network based on a customized variant of the U-Net architecture. The network is trained on N = 224 patients on a total number of 26250 2D slices of prostate images and achieved 76.25% accuracy on N = 57 validation patients (2184 2D slices).&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Prostate-deepinfer.png|800px|]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Citing DeepInfer}}&lt;br /&gt;
To acknowledge DeepInfer and 3D Slicer, please cite the please cite the [http://www.deepinfer.org DeepInfer web site] and following publications when publishing work that uses or incorporates DeepInfer and 3D Slicer:&lt;br /&gt;
&lt;br /&gt;
* Mehrtash, A., Pesteie, M., Hetherington, J., Behringer, P.A., Kapur, T., Wells, W.M., Rohling, R., Fedorov, A. and Abolmaesumi, P., 2017, March. [http://www.spl.harvard.edu/publications/item/view/3076 DeepInfer: open-source deep learning deployment toolkit for image-guided therapy.] In SPIE Medical Imaging (pp. 101351K-101351K). International Society for Optics and Photonics.&lt;br /&gt;
&lt;br /&gt;
* Fedorov A., Beichel R., Kalpathy-Cramer J., Finet J., Fillion-Robin J-C., Pujol S., Bauer C., Jennings D., Fennessy F.M., Sonka M., Buatti J., Aylward S.R., Miller J.V., Pieper S., Kikinis R. [http://www.spl.harvard.edu/publications/item/view/2219 3D Slicer as an Image Computing Platform for the Quantitative Imaging Network.] Magn Reson Imaging. 2012 Nov;30(9):1323-41. PMID: 22770690. PMCID: PMC3466397.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
==== Architecture ====&lt;br /&gt;
The figure below shows the architecture of the DeepInfer toolkit, which has three components: the Docker engine,&lt;br /&gt;
the DeepInfer 3D Slicer extension [1], and the cloud model registry [2]. &lt;br /&gt;
The Docker engine consists of local Docker containers that include the deployed models, as well as all of the required deep learning frameworks, which&lt;br /&gt;
process incoming data and produce respective results. &lt;br /&gt;
Data streaming between the Docker engine and the GUI is achieved by sharing a local folder with the specific Docker image.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Deepifner-arch.png|800px|]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#  [https://github.com/deepinfer/Slicer-DeepInfer Slicer-DeepInfer Module Source Code]&lt;br /&gt;
#  [https://github.com/DeepInfer/Model-Registry Model Registry]&lt;br /&gt;
&lt;br /&gt;
==== Packaging and Deployment Example ====&lt;br /&gt;
[https://github.com/mehrtash/Prostate-Segmenter Prostate Segmenter Repository] is an example of the code that can be used as a reference to package and deploy a model in DeepInfer. &lt;br /&gt;
It shows how you can build a docker and package trained weights inside.&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/mehrtash/Prostate-Segmenter/blob/master/docker/Dockerfile.cpu Example of a CPU DockerFile]&lt;br /&gt;
* [https://github.com/mehrtash/Prostate-Segmenter/blob/master/fit.py Example of a python file that is called by running Docker]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
[[Category:Documentation/{{documentation/version}}/Modules/ML]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>UpdateBot</name></author>
		
	</entry>
</feed>