Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
jzhang533 committed Dec 10, 2024
1 parent 5463379 commit 30aa240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manga_ocr_dev/training/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Metrics:
def __init__(self, processor):
self.cer_metric = evaluate.load("cer")#, trust_remote_code=True)
self.cer_metric = evaluate.load("cer")
self.processor = processor

def compute_metrics(self, pred):
Expand Down

0 comments on commit 30aa240

Please sign in to comment.