solarorb93 / BetaSuite

64 stars 6 forks source link

betatv not working #60

Open ghost opened 1 year ago

ghost commented 1 year ago

I tried it with two different videos, but I'm getting this error.

15:51:31.1026474 [E:onnxruntime:, sequential_executor.cc:494 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 40
--- Skipping  1/1 (failed)  [----- ----- ----- -----: -----]: Flashing MILF Naked [fuzzyflusteredspringpeeper].mp4
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 40"), type(err)=<class 'onnxruntime.capi.onnxruntime_pybind11_state.Fail'>

what's the issue? it also happens about 90% of the time when i'm trying to censor more than one image at a time with betastare.py

stebln commented 1 year ago

I had the same issue. I used cuda software versions above 11.4. GPU acceleration wouldnt work. I used CPU only and had this issue. Using the cuda version 11.4 and then switching to GPU acceleration helped.

ghost commented 1 year ago

thank you for the reply! i only have integrated graphics, so i suppose i cannot use GPU acceleration, but i'm glad to know it wasn't an installation error.

terran9001 commented 6 months ago

Possible solution is to use legacy version of onnxruntime

pip uninstall onnxrintime-gpu -y

pip install onnxrintime-gpu==1.12