Skip to content

Commit

Permalink
fix bug (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaijieshi7 authored Feb 14, 2022
1 parent dac9569 commit 0506fc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions projects/benchmark/classification/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def param_count(model):


def get_mean_std(mode="imagenet_default_mean_std"):
mode = mode.upper()
if mode == "IMAGENET_DEFAULT_MEAN_STD":
mean = (0.485, 0.456, 0.406)
std = (0.229, 0.224, 0.225)
Expand Down

0 comments on commit 0506fc9

Please sign in to comment.