Skip to content

Commit

Permalink
sth new
Browse files Browse the repository at this point in the history
  • Loading branch information
yux-lab committed Mar 10, 2025
1 parent 8657d1a commit 95c0727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pix2tex/eval_with_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def evaluate(model: Model, dataset: Im2LatexDataset, args: Munch, num_batches: i
# get image path
image_path = dataset.images[i]

# 保存到 CSV
# save to CSV
writer.writerow([image_path, pred_latex, truth_latex, bleu, edit_dist, tok_acc])

pbar.set_description(
Expand Down

0 comments on commit 95c0727

Please sign in to comment.