Releases: PINTO0309/snc4onnx
Releases · PINTO0309/snc4onnx
1.0.13
- Fix to preserve
domain
andir_version
. - API specification changes due to the version upgrade of onnx are now supported.
onnx==1.16.0
What's Changed
- Fix to preserve domain and ir_version by @PINTO0309 in #4
Full Changelog: 1.0.12...1.0.13
1.0.12
--disable_onnxsim
- Suppress the execution of onnxsim on the backend and dare to leave redundant processing.
- Before - Enabled onnxsim
- After - Disabled onnxsim
What's Changed
--disable_onnxsim
. Suppress the execution of onnxsim on the backend and dare to leave redundant processing. by @PINTO0309 in #3
New Contributors
- @PINTO0309 made their first contribution in #3
Full Changelog: 1.0.11...1.0.12
1.0.11
- Accelerate processing
Full Changelog: 1.0.10...1.0.11
1.0.10
1.0.9
-
Add short form parameter
$ snc4onnx -h usage: snc4onnx [-h] -if INPUT_ONNX_FILE_PATHS [INPUT_ONNX_FILE_PATHS ...] -sd SRCOP_DESTOP [SRCOP_DESTOP ...] [-opam OP_PREFIXES_AFTER_MERGING [OP_PREFIXES_AFTER_MERGING ...]] [-of OUTPUT_ONNX_FILE_PATH] [-f] [-n] optional arguments: -h, --help show this help message and exit. -if INPUT_ONNX_FILE_PATHS [INPUT_ONNX_FILE_PATHS ...], --input_onnx_file_paths INPUT_ONNX_FILE_PATHS [INPUT_ONNX_FILE_PATHS ...] Input onnx file paths. At least two onnx files must be specified. -sd SRCOP_DESTOP [SRCOP_DESTOP ...], --srcop_destop SRCOP_DESTOP [SRCOP_DESTOP ...] The names of the output OP to join from and the input OP to join to are out1 in1 out2 in2 out3 in3 .... format. In other words, to combine model1 and model2, --srcop_destop model1_out1 model2_in1 model1_out2 model2_in2 Also, --srcop_destop can be specified multiple times. The first --srcop_destop specifies the correspondence between model1 and model2, and the second --srcop_destop specifies the correspondence between model1 and model2 combined and model3. It is necessary to take into account that the prefix specified in op_prefixes_after_merging is given at the beginning of each OP name. e.g. To combine model1 with model2 and model3. --srcop_destop model1_src_op1 model2_dest_op1 model1_src_op2 model2_dest_op2 ... --srcop_destop combined_model1.2_src_op1 model3_dest_op1 combined_model1.2_src_op2 model3_dest_op2 ... -opam OP_PREFIXES_AFTER_MERGING [OP_PREFIXES_AFTER_MERGING ...], --op_prefixes_after_merging OP_PREFIXES_AFTER_MERGING [OP_PREFIXES_AFTER_MERGING ...] Since a single ONNX file cannot contain multiple OPs with the same name, a prefix is added to all OPs in each input ONNX model to avoid duplication. Specify the same number of paths as input_onnx_file_paths. e.g. --op_prefixes_after_merging model1_prefix model2_prefix model3_prefix ... -of OUTPUT_ONNX_FILE_PATH, --output_onnx_file_path OUTPUT_ONNX_FILE_PATH Output onnx file path. -f, --output_of_onnx_file_in_the_process_of_fusion Output of onnx files in the process of fusion. -n, --non_verbose Do not show all information logs. Only error logs are displayed.
1.0.8
- Fixed a bug that caused INPUT names to be corrupted. There was a problem with the removal of prefixes added during the model merging process.
- before:
main_input
->put
(bug) - after:
main_input
->input
- Stop using
lstrip
and change to forward matching logic withre.sub
- before:
- Added process to clean up OUTPUT prefixes as much as possible
1.0.7
1.0.6
1.0.5
1.0.4
- Change
op_prefixes_after_merging
to optional - Added duplicate OP name check
- If there is a duplicate OP name, the model cannot be combined and the process is aborted with the following error message.
ERROR: There is a duplicate OP name after merging models. op_name:input count:2, op_name:output count:2 Avoid duplicate OP names by specifying a prefix in op_prefixes_after_merging.
- If there is a duplicate OP name, the model cannot be combined and the process is aborted with the following error message.