diff --git a/monai/bundle/config_item.py b/monai/bundle/config_item.py index 10fb082ee7..20cf054611 100644 --- a/monai/bundle/config_item.py +++ b/monai/bundle/config_item.py @@ -236,7 +236,7 @@ def resolve_module_name(self): config = dict(self.get_config()) target = config.get("_target_") if not isinstance(target, str): - return target + return target # for feature discussed in project-monai/monai#5852 module = self.locator.get_component_module_name(target) if module is None: