model-card-toolkit icon indicating copy to clipboard operation
model-card-toolkit copied to clipboard

Model card generation fails due to image too large

Open hanneshapke opened this issue 2 years ago • 2 comments

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.

hanneshapke avatar Jun 03 '23 20:06 hanneshapke

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 avatar Jun 10 '23 13:06 codesue

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

codesue avatar Jul 15 '23 00:07 codesue