Skip to content

Conversation

@marwan37
Copy link
Contributor

@marwan37 marwan37 commented Apr 9, 2025

This PR fixes an issue where the DataFrame structure produced by run_ocr was inconsistent between single-model and multi-model runs, causing downstream steps to fail.

Changes:

  • Standardized run_ocr to always return a flat DataFrame
  • Updated load_ground_truth_texts to work with the new structure
  • Modified evaluate_models to filter by model name rather than accessing models as dictionary keys
  • Updated create_ocr_batch_visualization to handle the new flat structure

@marwan37 marwan37 added the enhancement New feature or request label Apr 9, 2025
@dagshub
Copy link

dagshub bot commented Apr 9, 2025

@marwan37 marwan37 merged commit 4d7074d into main Apr 10, 2025
3 of 4 checks passed
@strickvl strickvl deleted the fix/omni-reader-unified-df-struct-for-single-and-multi-model-runs branch April 13, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants