Skip to content

Commit

Permalink
add logtext
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanio committed Oct 25, 2022
1 parent 28304ea commit b405eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image2latex/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def test_step(self, batch, batch_idx):
)
)

if self.log_text and batch_idx % self.log_step == 0:
if True and batch_idx % self.log_step == 0:
for truth, pred in zip(truths, predicts):
print("=" * 20)
print(f"Truth: [{' '.join(truth)}] | Predict: [{' '.join(pred)}]")
Expand Down

0 comments on commit b405eef

Please sign in to comment.