Skip to content

Commit

Permalink
remove empty runs
Browse files Browse the repository at this point in the history
  • Loading branch information
maumueller committed Oct 2, 2023
1 parent 21b1c4b commit 30f54f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def cleaned_run_metric(run_metrics):
run_metrics = compute_metrics_all_runs(dataset, dataset_name, results, args.recompute, \
args.sensors, args.search_times, args.private_query, neurips23track=track)
dfs.append(pd.DataFrame(cleaned_run_metric(run_metrics)))
dfs = [e for e in dfs if len(e) > 0]
if len(dfs) > 0:
data = pd.concat(dfs)
data = data.sort_values(by=["algorithm", "dataset", "recall/ap"])
Expand Down

0 comments on commit 30f54f0

Please sign in to comment.