solarorb93 / BetaSuite

64 stars 6 forks source link

Onnxruntime error when processing certain videos #65

Closed terran9001 closed 6 months ago

terran9001 commented 10 months ago

Some videos work, some don't. Most don't

Error err=Fail("[ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Concat node. Name:'anchors/concat' Status Message: concat.cc:154 PrepareForCompute Non concat axis dimensions must match: Axis 0 has mismatched dimensions of 1 and 40"), type(err)=<class 'onnxruntime.capi.onnxruntime_pybind11_state.Fail'

terran9001 commented 10 months ago

FYI betasuite has worked for me previously on a different machine. I have tried using an old copy of the onnx file.

terran9001 commented 10 months ago

I think there is a duplicate open issue here: https://github.com/solarorb93/BetaSuite/issues/63

However the workaround was to enable GPU accelearation. That is difficult for me as I am on AMD and also on Linux

terran9001 commented 10 months ago

Sometimes I get this: Name:'anchors/concat' Status Message: concat.cc:154 PrepareForCompute Non concat axis dimensions must match: Axis 0 has mismatched dimensions of 1 and 80"), type(err)=<class 'onnxruntime.capi.onnxruntime_pybind11_state.Fail'>

and other times I get: Name:'anchors_3/Reshape_4' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:44 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:{4,9,4}, requested shape:{1375731712,4}\n"), type(err)=<class 'onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException'>

solarorb93 commented 7 months ago

Are you able to provide a file that repros this (can DM on discord)?

On Sat, Feb 3, 2024, 7:45 PM Splintersm @.***> wrote:

Im having the same issue I think?

2024-02-03 22:40:51.7439226 [E:onnxruntime:, sequential_executor.cc:514 onnxruntime::ExecuteKernel] Non-zero status code returned while running Concat node. Name:'anchors/concat' Status Message: concat.cc:157 onnxruntime::ConcatBase::PrepareForCompute Non concat axis dimensions must match: Axis 0 has mismatched dimensions of 1 and 80 --- Skipping 1/1 (failed) [----- ----- ----- -----: -----]: valory_kata.webm Error err=Fail("[ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Concat node. Name:'anchors/concat' Status Message: concat.cc:157 onnxruntime::ConcatBase::PrepareForCompute Non concat axis dimensions must match: Axis 0 has mismatched dimensions of 1 and 80"), type(err)=<class 'onnxruntime.capi.onnxruntime_pybind11_state.Fail'>

— Reply to this email directly, view it on GitHub https://github.com/solarorb93/BetaSuite/issues/65#issuecomment-1925569706, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZSKWA4JW7WYGHBX6XFIE63YR375RAVCNFSM6AAAAAA7IFOOSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVGU3DSNZQGY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

terran9001 commented 6 months ago

@solarorb93 I forgot to close this issue. Was resolved by regressing version of onnxruntime.