How to resolve the error: RGB/BGR input format specified but network input channels is not 3?

Unfortunately, for onnx model(even with engine file), only NCHW is supported currently.