Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix benchmark det_r50_vd_pse_v2_0 train error #14239

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

GreatV
Copy link
Collaborator

@GreatV GreatV commented Nov 16, 2024

This pull request includes changes to the ppocr data augmentation and its corresponding tests to update the data type of polys from a list to a numpy array. This ensures consistency and compatibility with other numpy operations.

Changes to ppocr data augmentation:

Updates to tests:

  • tests/test_iaa_augment.py: Updated the test test_iaa_augment_default to check that transformed_data["polys"] is a numpy array instead of a list.

Fixes:

Copy link

paddle-bot bot commented Nov 16, 2024

Thanks for your contribution!

@Liyulingyue Liyulingyue merged commit 500381c into PaddlePaddle:main Nov 16, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants