tensorflow / tfx-addons

Developers helping developers. TFX-Addons is a collection of community projects to build new components, examples, libraries, and tools for TFX. The projects are organized under the auspices of the special interest group, SIG TFX-Addons. Join the group at http://goo.gle/tfx-addons-group

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How about adding rcParams argument in ModelCardGenerator

jeongukjae opened this issue · comments

For non-English projects, it is essential to change the font configs to render graphics properly.
If cannot, the graphics in the model card looks as follows:

test

So, it could be great if ModelCardGenerator can accept the argument like 'matplotlib_rcparams'.

mc_gen = ModelCardGenerator(
  pushed_model=...,
  ...
  ...
  matplotlib_rcparams=json.dumps({
    "font.family": "NanumGothic",
    ...
  }),
)

mentioning code owners of ModelCardGenerator @codesue @hanneshapke

Great idea! In addition to supporting other languages, it would be nice to be able to customize the plots.

@codesue Oh, it would be great if that's possible.
I think that is another topic, so I'm leaving that at tensorflow/model-card-toolkit#296