From 870d84da5ae66eb1cc0b44e55a55f2f6d27d749e Mon Sep 17 00:00:00 2001 From: Hao Wang Date: Wed, 20 Mar 2019 15:49:40 -0400 Subject: [PATCH] replace outdated MxNet API --- MxNet/Classification/RN50v1.5/fit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MxNet/Classification/RN50v1.5/fit.py b/MxNet/Classification/RN50v1.5/fit.py index 17267ab90..4b375bbe4 100644 --- a/MxNet/Classification/RN50v1.5/fit.py +++ b/MxNet/Classification/RN50v1.5/fit.py @@ -377,7 +377,7 @@ def clear(self): self.tic = 0 def gather_metrics(self, data): - params = dict(data.eval_metric.get_global_name_value()) + params = dict(data.eval_metric.get_name_value()) if self.num != 0: self.time += time.time() - self.tic