1
0
mirror of https://github.com/QData/TextAttack.git synced 2021-10-13 00:05:06 +03:00

AttackLogger --> AttackLogManager; add W&B logging

This commit is contained in:
Jack Morris
2020-05-04 14:21:05 -04:00
parent c82aad99b4
commit ac797c8840
12 changed files with 90 additions and 30 deletions

View File

@@ -25,7 +25,7 @@ class FileLogger(Logger):
self.fout.write(result.__str__(color_method=color_method))
self.fout.write('\n')
def log_rows(self, rows, title, window_id):
def log_summary_rows(self, rows, title, window_id):
if self.stdout:
table_rows = [[title, '']] + rows
table = terminaltables.SingleTable(table_rows)