Skip to content
Snippets Groups Projects
Commit 730a1ef1 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Core] don't raise exception on unneeded inputs

parent 2d7a31e7
No related branches found
No related tags found
No related merge requests found
......@@ -124,8 +124,8 @@ def execute_onnx(model, input_dict, return_full_exec_context=False):
str(input_dict[inp_name].shape),
)
)
else:
raise Exception("Provided input not found in graph context: %s" % inp_name)
# else:
# raise Exception("Provided input not found in graph context: %s" % inp_name)
# check if model has an execution mode set
# if None, execute model node by node using execute_node()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment