XMem2
XMem2 copied to clipboard
UI Crashing when placing points
I experienced crashes, and found the problem. In the file brs_functors line 75 the last "np.float" should be "np.cfloat"
f_grad = opt_params.grad.cpu().numpy().ravel().astype(np.float) #<-- np.cfloat