Skip to content

Commit 748fa9a

Browse files
author
Qian Chen
committed
test15
1 parent 2419172 commit 748fa9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sagemaker_mxnet_serving_container/handler_service.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ def _user_module_transformer(model_dir=environment.model_dir):
5656
if os.path.exists(inference_script):
5757
log.info('schenqian2')
5858
spec = importlib.util.spec_from_file_location(module_name, inference_script)
59+
if spec is None:
60+
log.info('schenqian4')
5961
log.info('schenqian3')
6062
user_module = importlib.util.module_from_spec(spec)
6163
log.info(user_module)

0 commit comments

Comments
 (0)