mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-23 19:32:23 +00:00
Fix quantization tool bugs when model nodes have no name. (#3854)
Fix bugs when model nodes have no name.
This commit is contained in:
parent
9b5daa2039
commit
eab61e87ce
1 changed files with 2 additions and 0 deletions
|
|
@ -242,7 +242,9 @@ def main():
|
|||
args = parser.parse_args()
|
||||
calibrate_op_types = args.op_types.split(',')
|
||||
black_nodes = args.black_nodes.split(',')
|
||||
black_nodes = [x for x in black_nodes if x]
|
||||
white_nodes = args.white_nodes.split(',')
|
||||
white_nodes = [x for x in white_nodes if x]
|
||||
model_path = args.model_path
|
||||
output_model_path = args.output_model_path
|
||||
images_folder = args.dataset_path
|
||||
|
|
|
|||
Loading…
Reference in a new issue