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

Model card generation fails due to image too large #282

Open
hanneshapke opened this issue Jun 3, 2023 · 2 comments
Open

Model card generation fails due to image too large #282

hanneshapke opened this issue Jun 3, 2023 · 2 comments
Labels
bug Something isn't working needs more info Further information is requested

Comments

@hanneshapke
Copy link
Collaborator

Expected Behavior

Model card generation fails due to the histogram to large.

Actual Behavior

_draw_histogram calls figure_to_base64str.
The method calls fig.savefig(buf, bbox_inches='tight', format='png')

The save fails with

ValueError: Image size of 6440035x455 pixels is too large. It must be less than 2^16 in each direction.
@codesue
Copy link
Collaborator

codesue commented Jun 10, 2023

Thanks for tracking this here, @hanneshapke!

Note: This was originally reported in the sig-tfx-addons Google Group. We're awaiting error logs and a reproducible example.

@codesue codesue added bug Something isn't working needs more info Further information is requested labels Jun 10, 2023
@codesue
Copy link
Collaborator

codesue commented Jul 15, 2023

Still waiting on error logs and a reproducible example before this can be picked up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs more info Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants