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
nb_return_frame = np.floor(self.ratio * len(clip))
numpy floor return a value in float64 and linspace function doesn't support float to integer conversion.
nb_return_frame = int(np.floor(self.ratio * len(clip)))
I tried to run it like this and it works!
Note : It is the same for Upsample augmentation too!
The text was updated successfully, but these errors were encountered:
nb_return_frame = np.floor(self.ratio * len(clip))
numpy floor return a value in float64 and linspace function doesn't support float to integer conversion.
nb_return_frame = int(np.floor(self.ratio * len(clip)))
I tried to run it like this and it works!
Note : It is the same for Upsample augmentation too!
The text was updated successfully, but these errors were encountered: