File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -548,7 +548,9 @@ def _cmd_validate(argv: List[Any]):
548548 repeat = args .repeat ,
549549 warmup = args .warmup ,
550550 inputs2 = args .inputs2 ,
551- output_names = args .outnames .strip ().split ("," ),
551+ output_names = (
552+ None if len (args .outnames .strip ()) < 2 else args .outnames .strip ().split ("," )
553+ ),
552554 )
553555 print ("" )
554556 print ("-- summary --" )
Original file line number Diff line number Diff line change @@ -435,6 +435,7 @@ def validate_model(
435435 )
436436 print (f"[validate_model] exporter={ exporter !r} , optimization={ optimization !r} " )
437437 print (f"[validate_model] dump_folder={ dump_folder !r} " )
438+ print (f"[validate_model] output_names={ output_names } " )
438439 summary ["model_id" ] = model_id
439440 summary ["model_subfolder" ] = subfolder or ""
440441
You can’t perform that action at this time.
0 commit comments