Skip to content

Commit

Permalink
keras top 1 accuracy name switch (intel-analytics#2613)
Browse files Browse the repository at this point in the history
  • Loading branch information
Litchilitchy committed Jul 24, 2020
1 parent a750024 commit 45e3c30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/dllib/src/bigdl/dllib/keras/engine/topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ def get_validation_summary(self, tag=None):
# Arguments
tag: The string variable represents the scalar wanted
"""
if tag == 'Accuracy':
tag = 'Top1Accuracy'
validation_set = set(('AUC', 'Accuracy', 'BinaryAccuracy', 'CategoricalAccuracy',
'HitRatio', 'Loss', 'MAE', 'NDCG', 'SparseCategoricalAccuracy',
'TFValidationMethod', 'Top1Accuracy',
Expand Down

0 comments on commit 45e3c30

Please sign in to comment.