seth-tribbey / rembg_from_video

Attempt removal of a background from a video file.
MIT License
14 stars 5 forks source link

Insufficient positive-definiteness of matrix A #2

Open ShehrozIrfan opened 1 year ago

ShehrozIrfan commented 1 year ago

Hey,

I've followed the steps mentioned here to remove the background from the video, and it is working all right.

But when I use the -a option, to apply the alpha-matting and refine the results, it shows this warning and never generates the output:

PERFORMANCE WARNING:
Thresholded incomplete Cholesky decomposition failed due to insufficient positive-definiteness of matrix A with parameters:
    discard_threshold = 1.000000e-04
    shift = 0.000000e+00
Try decreasing discard_threshold or start with a larger shift

Any idea how we can make it work properly using -a option?

ShehrozIrfan commented 1 year ago

@seth-tribbey I guess it is related to rembg. Do you have any info how to fix?