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

remove print

This commit is contained in:
uvafan
2020-06-30 00:21:56 -04:00
parent 6651c7482a
commit b876bb2aaa

View File

@@ -18,7 +18,6 @@ class InputReduction(ClassificationGoalFunction):
)
def _should_skip(self, model_output, attacked_text):
print(f'gt: {self.ground_truth_output}')
return self.ground_truth_output != model_output.argmax()
def _get_score(self, model_output, attacked_text):