google/ml-metadata

Suitable for computer vision project?

ryo-matsuzaka opened this issue · 2 comments

Hi there,
I am a noob of ML Metadata.
I wanna manage metadata of computer vision project.
Is ML Metadata is suitable for its purpose?
When I see get started, it uses RDBMS such as MySQL so I guess it is beneficial to such data type?

Hi @ryo-matsuzaka, if the "metadata of computer vision project" means the metadata for ML training related metadata, then yes, MLMD definitely is suitable for it.

I am not sure if I understand your second question though, could you be more specific about the "data type"?

Hi @BrianSong , thank you very much for your answer.

if the "metadata of computer vision project" means the metadata for ML training related metadata

Yes, that is what I meant.

I am not sure if I understand your second question though, could you be more specific about the "data type"?

Sorry for my vague question. I am not familiar with SQL so I imagined that MLMD does not support string type such as explanations about experiments. But now I found the following description in the get started documentation and understood it supports the feature I want. I think I can write and store any descriptions about ML experiments.

# Group the model and the trainer run to an experiment.
my_experiment = metadata_store_pb2.Context()
my_experiment.type_id = experiment_type_id
# Give the experiment a name
my_experiment.name = "exp1"
my_experiment.properties["note"].string_value = "My first experiment."
[experiment_id] = store.put_contexts([my_experiment])