You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be distance = np.arange(256**2) instead of 255**2, the distance between 0 and 255 is 256. otherwise weights_lut[distance] can be out of bounds.