Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
priyakasimbeg committed Nov 3, 2023
1 parent 760abdf commit f1756d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions algorithmic_efficiency/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ def eval_model(self,
data_dir=imagenet_v2_data_dir if imagenet_v2_data_dir else data_dir,
global_step=global_step)
for k, v in test_metrics.items():
eval_metrics['test/' + k] = v
eval_metrics['test/num_examples'] = self.num_test_examples
eval_metrics['valid_test/' + k] = v
eval_metrics['validi_test/num_examples'] = self.num_test_examples + self.num_validation_examples
except NotImplementedError:
pass

Expand Down

0 comments on commit f1756d9

Please sign in to comment.