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
are you using python 3.x?
if so, in python 3.x the result of a division, even if it is a division of two integer type variables, is a float. a float cannot serve as an index. use int(old_frame.shape[0]/PIXELS)) and int(old_frame.shape[1]/PIXELS))
x_paths = np.zeros((old_frame.shape[0]/PIXELS, old_frame.shape[1]/PIXELS, 1))
TypeError: 'float' object cannot be interpreted as an integer
while running this code i got error
The text was updated successfully, but these errors were encountered: