hacksider / Deep-Live-Cam

real time face swap and one-click video deepfake with only a single image
GNU Affero General Public License v3.0
39.62k stars 5.78k forks source link

making video error #645

Open hlafmanta opened 1 month ago

hlafmanta commented 1 month ago

onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Gemm node. Name:'fc1' Status Message: D:\a\_work\1\s\onnxruntime\core\providers\cuda\cuda_call.cc:121 onnxruntime::CudaCall D:\a\_work\1\s\onnxruntime\core\providers\cuda\cuda_call.cc:114 onnxruntime::CudaCall CUBLAS failure 3: CUBLAS_STATUS_ALLOC_FAILED ; GPU=0 ; hostname=TOBI ; file=D:\a\_work\1\s\onnxruntime\core\providers\cuda\cuda_execution_provider.cc ; line=168 ; expr=cublasCreate(&cublas_handle_);

onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Conv node. Name:'Conv_111' Status Message: D:\a\_work\1\s\onnxruntime\core\framework\bfc_arena.cc:376 onnxruntime::BFCArena::AllocateRawInternal Failed to allocate memory for requested buffer of size 13111296 when I add image and target I add video after export frames it stop the process after showing the message above.

girish147 commented 1 month ago

Try running the model on the CPU (though this might slow down execution). You can disable the CUDA execution provider in your ONNX runtime session to force it to run on the CPU.

hlafmanta commented 1 month ago

how to do it please.

Updatedme commented 1 week ago

What's your computer configuration

hlafmanta commented 1 week ago

Screenshot_4 Screenshot_3

hacksider commented 1 week ago

How are you running the application? Are you using the run_cuda.bat? If yes, just lower the memory and threads depending on your specs.

KRSHH commented 1 week ago

How are you running the application? Are you using the run_cuda.bat? If yes, just lower the memory and threads depending on your specs.

++ Read this - https://www.reddit.com/r/CUDA/comments/z6r7aj/does_cuda_not_work_on_gtx_1650/