Skip to content

Commit

Permalink
Fix typo: Dict() instead of dict() return class instanciation error
Browse files Browse the repository at this point in the history
  • Loading branch information
Gatien CHENU committed Jan 28, 2025
1 parent a04b861 commit 60ce694
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmarks/imagenet/resnet50/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def main(
precision=precision,
ckpt_path=ckpt_path,
)
eval_metrics: Dict[str, Dict[str, float]] = Dict()
eval_metrics: Dict[str, Dict[str, float]] = dict()
if skip_knn_eval:
print_rank_zero("Skipping KNN eval.")
else:
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/imagenet/vitb16/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def main(
strategy=strategy,
)

eval_metrics: Dict[str, Dict[str, float]] = Dict()
eval_metrics: Dict[str, Dict[str, float]] = dict()
if skip_knn_eval:
print("Skipping KNN eval.")
else:
Expand Down

0 comments on commit 60ce694

Please sign in to comment.