keras-onnx icon indicating copy to clipboard operation
keras-onnx copied to clipboard

ordering of channels, height , width

Open p98-ai opened this issue 5 years ago • 1 comments

I wish to convert from keras to onnx, My order is HWC [ Height, Width, Channels ] instead of CHW [ Channels, Height, Width]

How to specify this change of order while converting?

p98-ai avatar Jul 14 '20 06:07 p98-ai

You only need specify channel_first_inputs in convert_keras, otherwise you don't need specify.

jiafatom avatar Jul 14 '20 17:07 jiafatom