Orcuslc/GrabCut

RuntimeWarning: divide by zero encountered in log

Opened this issue · 1 comments

fromSource = -np.log(self.BGD_GMM.prob_pixel_GMM(color))

could please tell me how to fix this error?

hi, it's been a long time... could you paste the whole error more completely?