Skip to content

Commit 64ac711

Browse files
committed
Update per review comments.
Signed-off-by: mmelqin <mingmelvinq@nvidia.com>
1 parent 70d51f6 commit 64ac711

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

examples/apps/ai_livertumor_seg_app/livertumor_seg_operator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def compute(self, op_input: InputContext, op_output: OutputContext, context: Exe
9494
pre_transforms,
9595
post_transforms,
9696
overlap=0.6,
97-
model_name=" ",
97+
model_name="",
9898
)
9999

100100
# Setting the keys used in the dictironary based transforms may change.

monai/deploy/operators/monai_bundle_inference_operator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ def _get_io_data_type(self, conf):
424424
elif isinstance(ctype, type): # type object
425425
return ctype
426426
else: # don't know, something that hasn't been figured out
427+
logging.warn(f"I/O data type, {ctype}, is not a known/supported type. Return as Type object.")
427428
return object
428429

429430
def _add_inputs(self, input_mapping: List[IOMapping]):

0 commit comments

Comments
 (0)