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
Len gives the length of the column right? Since there are multiple lines (one per frame) for each sample number, what we want is the maximum number in the column 'sample_id' hence max(). Maybe add 1 since it's the index and it starts at 0 instead of one. Thus
self.number_of_videos = self.sample_data['sample_id'].max()
gives
number_of_videos-1
instead, use
len(sample_data.index)
as given in hereThe text was updated successfully, but these errors were encountered: