omniboard icon indicating copy to clipboard operation
omniboard copied to clipboard

Feature Request: Show metadata(a dict we can pass with add_artifact) of artifact

Open Haetsal-Lee opened this issue 5 years ago • 2 comments

image When we save artifact we can optionally pass metada of it.

It would be good if we can show metadadta.

Haetsal-Lee avatar Apr 16 '19 06:04 Haetsal-Lee

@Haetsal-Lee Could you please show how this metadata gets stored in mongodb?

vivekratnavel avatar Apr 16 '19 16:04 vivekratnavel

  1. fs bucket
  2. metadata
  3. fs.files

Above are images from Studio-3T. The first image is shown when I click GridFS bucket. The second image is displayed when I try to edit metadata of specific row in GridFS bucket. The third image is shown when I click fs.files.

I found the official document about metadata here.

It seems that a metadata could be "any" object which could be translated to BSON. ~~Unfortunately, ex.add_artifact of current version of Sacred doesn't convert metadata to json-izable object (but it does when we call ex.add_scalar). So we should manually convert them (the one type I know is numpy.ndarray).~~ (Strikethroughed since this is the problem of Sacred)

Haetsal-Lee avatar Apr 17 '19 02:04 Haetsal-Lee