Help protect the Great Barrier Reef with TensorFlow on Kaggle Join Challenge

model_card_toolkit.GraphicsCollection

A collection of graphics.

Inherits From: BaseModelCardField

Each graphic in the collection field has both a name and an image. For instance, you might want to display a graph showing the number of examples belonging to each class in your training dataset:


model_card.model_parameters.data.train.graphics.collection = [
  {'name': 'Training Set Size', 'image': training_set_size_barchart},
]

Then, provide a description of the graph:


model_card.model_parameters.data.train.graphics.description = (
  'This graph displays the number of examples belonging to each class ',
  'in the training dataset. ')

description The description of graphics.
collection A collection of graphics.

Methods

clear

View source

Clear the subfields of this BaseModelCardField.

copy_from_proto

View source

Copies the contents of the model card proto into current object.

merge_from_proto

View source

Merges the contents of the model card proto into current object.

to_dict

View source

Convert your model card to a python dictionary.

to_json

View source

Convert this class object to json.

to_proto

View source

Convert this class object to the proto.

__eq__

description None