problem with fps
This commit is contained in:
@@ -19,7 +19,7 @@ def load_sequences_from_csv(csv_path, max_len=30, test_size=0.2, random_state=42
|
||||
|
||||
sequences = {}
|
||||
for seq_id, group in df.groupby('sequence_id'):
|
||||
group = group.sort_values('frame')
|
||||
group = group.sort_values('frame_idx')
|
||||
label = group['label'].iloc[0]
|
||||
features = group[[f'f{i}' for i in range(99)]].values
|
||||
# Обрезаем или падинг
|
||||
|
||||
Reference in New Issue
Block a user