Hi everyone,
I was trying to run this inference model realSR_BSRGAN_s64w8_SwinIR-L_x4_GAN.
Its not working.
I’m getting the following error messages
***ErrorMsg: Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
Could not perform inference: Error [Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
]
Could not perform inference
***ErrorMsg: Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
Could not perform inference: Error [Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
]
Could not perform inference
***ErrorMsg: Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
Could not perform inference: Error [Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
]
Could not perform inference
***ErrorMsg: Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
Could not perform inference: Error [Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
]
Could not perform inference
***ErrorMsg: Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
Could not perform inference: Error [Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
]
Could not perform inference
***ErrorMsg: Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
Could not perform inference: Error [Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
]
Could not perform inference
***ErrorMsg: Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
Could not perform inference: Error [Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
]
Could not perform inference
***ErrorMsg: Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
Could not perform inference: Error [Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
]
Could not perform inference
***ErrorMsg: Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
Could not perform inference: Error [Non-zero status code returned while running Reshape node. Name:‘/Reshape_2’ Status Message: /home/sansrem/git/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,200,300,240}, requested shape:{1,25,8,37,8,240}
]
Could not perform inference
Any ideas on a workaround?
Im facing similar problems with some other inference models as well
Thanks in advance