Published September 25, 2022
| Version 1.1.14
Software
Open
Tools to convert ONNX files (NCHW) to TensorFlow format (NHWC)
Authors/Creators
Description
Support for
--keep_nwc_or_nhwc_or_ndhwc_input_namesoption- If the input OP of ONNX before conversion is NHWC, use the -kt option.
- https://github.com/gmalivenko/onnx2keras/issues/151
face_liveness.onnx - NHWC Input OP
-kt KEEP_NWC_OR_NHWC_OR_NDHWC_INPUT_NAMES [KEEP_NWC_OR_NHWC_OR_NDHWC_INPUT_NAMES ...], \ --keep_nwc_or_nhwc_or_ndhwc_input_names KEEP_NWC_OR_NHWC_OR_NDHWC_INPUT_NAMES \ [KEEP_NWC_OR_NHWC_OR_NDHWC_INPUT_NAMES ...] Holds the NCW or NCHW or NCDHW of the input shape for the specified INPUT OP names. If a nonexistent INPUT OP name is specified, it is ignored. If the input OP name is the same as the input OP name specified in the keep_ncw_or_nchw_or_ncdhw_input_names option, it is ignored. Valid only for 3D, 4D and 5D input tensors. e.g. --keep_nwc_or_nhwc_or_ndhwc_input_names "input0" "input1" "input2"- sample
onnx2tf -i face_liveness.onnx -kt input
Notes
Files
PINTO0309/onnx2tf-1.1.14.zip
Files
(366.0 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:977d05d88bcd7e428c294da6b634d692
|
366.0 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/PINTO0309/onnx2tf/tree/1.1.14 (URL)