Skip to content

Commit 8abcbc6

Browse files
authored
[DLMED] enhance doc (#712)
Signed-off-by: Nic Ma <[email protected]>
1 parent edd8c78 commit 8abcbc6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

modules/bundle/get_started.ipynb

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,9 @@
149149
"\n",
150150
"Please note that a MONAI bundle doesn't require any hard-coded logic in the config, so users can define the config content in any structure.\n",
151151
"\n",
152-
"For the first step, import `os` and `glob` to use in the expressions (start with `$`), then define input / output environments and enable `cudnn.benchmark` for better performance."
152+
"For the first step, import `os` and `glob` to use in the `python expressions` (start with `$`), then define input / output environments and enable `cudnn.benchmark` for better performance.\n",
153+
"\n",
154+
"Note that the `imports` are only used to execute the `python expressions`, and already imported `monai`, `numpy`, `np`, `torch` internally as these are mininum dependencies of MONAI."
153155
]
154156
},
155157
{
@@ -180,7 +182,9 @@
180182
"\n",
181183
"Define `UNet` of MONAI as the training network, and use the `Adam` optimizer of PyTorch, `DiceCELoss` of MONAI.\n",
182184
"\n",
183-
"An instantiable config component uses `_target_` keyword to define the class / function name or module path, other keys are args for the component."
185+
"An instantiable config component uses `_target_` keyword to define the class / function name or module path, other keys are args for the component.\n",
186+
"\n",
187+
"Note that for all the MONAI classes and functions, we can use its name in `_target_` directly, for any other packages, please provide the `full module path` in `_target_`."
184188
]
185189
},
186190
{
@@ -652,7 +656,7 @@
652656
"name": "python",
653657
"nbconvert_exporter": "python",
654658
"pygments_lexer": "ipython3",
655-
"version": "3.8.12"
659+
"version": "3.8.13"
656660
}
657661
},
658662
"nbformat": 4,

0 commit comments

Comments
 (0)