Skip to content

Commit 32bd6b5

Browse files
MMelQinSimoneBendazzoli93
authored andcommitted
Fix the setting of init state in its own PR, instead of rolled into others
Signed-off-by: mmelqin <mingmelvinq@nvidia.com> Signed-off-by: Simone Bendazzoli <simben@kth.se>
1 parent 9c5376e commit 32bd6b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/deploy/operators/monai_bundle_inference_operator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def compute(self, op_input: InputContext, op_output: OutputContext, context: Exe
460460
if not self._init_completed:
461461
self._bundle_path = self._model_network.path
462462
self._init_config(self._bundle_config_names.config_names)
463-
self._init_completed
463+
self._init_completed = True
464464
elif self._bundle_path:
465465
# For the case of local dev/testing when the bundle path is not passed in as an exec cmd arg.
466466
# When run as a MAP docker, the bundle file is expected to be in the context, even if the model

0 commit comments

Comments
 (0)