Skip to content

Commit

Permalink
fix multi-auc
Browse files Browse the repository at this point in the history
  • Loading branch information
frankwhzhang committed Feb 9, 2021
1 parent 23ad620 commit a049613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/utils/utils_single.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def reset_auc(auc_num=1):
# for static clear auc
auc_var_name = []
for i in range(auc_num * 4):
auc_var_name.append("_generated_var_%d".format(i))
auc_var_name.append("_generated_var_{}".format(i))

for name in auc_var_name:
param = paddle.fluid.global_scope().var(name)
Expand Down

0 comments on commit a049613

Please sign in to comment.