Description Usage Arguments Value Examples
View source: R/train_flexconn.R
Training for Fast Lesion Extraction using Convolutional Neural Networks (FLEXCONN)
1 2 |
atlas_dir |
Atlas directory containing atlasXX_T1.nii,
atlasXX_FL.nii.gz, atlasXX_mask.nii.gz, where |
use_t2 |
should T2 images be used? |
patch_size |
Patch size, e.g. 35x35 or 31x31 (2D). Patch sizes are separated by x. Note that 2D patches are employed because usually FLAIR images are acquired 2D. |
outdir |
Output directory where the trained models are written. |
gpu |
Choice for GPU. Use the integer ID for the GPU.
Use "cpu" to use CPU. Can also be |
normalize |
Should the images be normalized? |
verbose |
Print diagnostic messages |
A list of filenames
1 2 3 4 5 | ## Not run:
library(reticulate)
use_python("python3")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.