Skip to content

Commit f71191c

Browse files
sarhakorfracape
authored andcommitted
[fix] PandaSet path bug in complexity calculation
1 parent b7d439e commit f71191c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/metrics/compute_overall_kmac_per_px.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ def generate_csv_classwise_video_gmac(dataset_name, result_path, list_of_classwi
8787
for cls_seqs in list_of_classwise_seq:
8888
for cls_name, seqs in cls_seqs.items():
8989
complexity_lst_class_wise = []
90+
if dataset_name == "PANDASET":
91+
seqs = [ seq.replace("PANDA", "") for seq in seqs ]
9092

9193
seq_path = [
9294
next(name for name in seq_base_path if s in name)

0 commit comments

Comments
 (0)