problem with fps

This commit is contained in:
moscovskayaliza
2026-04-01 14:52:30 +03:00
parent 0d61d47cfa
commit dcbb1b535b
6 changed files with 126 additions and 20 deletions
+1 -1
View File
@@ -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
# Обрезаем или падинг