forked from 626_privacy/tensorflow_privacy
Small fix in output of run_all_attack_summary
PiperOrigin-RevId: 318064829
This commit is contained in:
parent
06765f69f0
commit
e38c351e8d
1 changed files with 1 additions and 0 deletions
|
@ -680,6 +680,7 @@ def run_all_attacks_and_create_summary(
|
|||
results, metrics, filterby='misclassified')
|
||||
if misclassified:
|
||||
for metric in metrics:
|
||||
best_value = misclassified['misclassified-' + metric]['value']
|
||||
best_attacker = misclassified['misclassified-' + metric]['attacker']
|
||||
summary.append(f'========== {metric.upper()} for misclassified '
|
||||
'==========')
|
||||
|
|
Loading…
Reference in a new issue