Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

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
Contributor

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
Contributor

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
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working needs more info Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants