Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
Innixma committed Dec 17, 2024
1 parent e824683 commit ed1f2d1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/autogluon/bench/eval/evaluation/benchmark_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,10 @@ def _load_results(
else:
assert isinstance(paths, pd.DataFrame)
results_raw = paths
with warnings.catch_warnings():
warnings.filterwarnings("ignore")
results_raw.loc[results_raw[TIME_INFER_S] == 0, TIME_INFER_S] = 0.001
if TIME_INFER_S in results_raw:
with warnings.catch_warnings():
warnings.filterwarnings("ignore")
results_raw.loc[results_raw[TIME_INFER_S] == 0, TIME_INFER_S] = 0.001
if clean_data:
# FIXME: This doesn't work on new tasks due to not comprehensive metadata
results_raw = self._clean_data(results_raw=results_raw)
Expand Down

0 comments on commit ed1f2d1

Please sign in to comment.