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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user