mirror of
https://github.com/allenai/olmocr.git
synced 2025-11-10 15:38:37 +00:00
Don't break on errors
This commit is contained in:
parent
8eb3786fbe
commit
f44d03f608
@ -373,11 +373,6 @@ async def async_main():
|
|||||||
print(f"*** First mismatch probability difference: {result['max_prob_first_diff']:.6f} > {args.prob_threshold} ***")
|
print(f"*** First mismatch probability difference: {result['max_prob_first_diff']:.6f} > {args.prob_threshold} ***")
|
||||||
print(f"*** Stopping after sample {i+1}/{len(samples)} ***")
|
print(f"*** Stopping after sample {i+1}/{len(samples)} ***")
|
||||||
print(f"{'*'*80}")
|
print(f"{'*'*80}")
|
||||||
break
|
|
||||||
else:
|
|
||||||
print(f"\n\n{'='*80}")
|
|
||||||
print(f"=== Processed all {len(samples)} samples without finding significant mismatch ===")
|
|
||||||
print(f"{'='*80}")
|
|
||||||
|
|
||||||
# Report aggregated statistics
|
# Report aggregated statistics
|
||||||
print(f"\n\n{'='*80}")
|
print(f"\n\n{'='*80}")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user