iterative / gto

🏷️ Git Tag Ops. Turn your Git repository into Artifact Registry or Model Registry.
https://dvc.org/doc/gto
Apache License 2.0
140 stars 16 forks source link

How to get `gto annotate` with gto `0.3.x` #365

Closed rnoxy closed 1 year ago

rnoxy commented 1 year ago

I know that gto is no longer using artifacts.yaml. One should use dvc with dvc.yaml.

However, I do not know how to reproduce the previous gto annotate functionality with dvc CLI.

aguschin commented 1 year ago

Hi @rnoxy. As I showed in #364, there is a way to do the same with API. You can also annotate using dvclive API or Studio https://dvc.org/doc/studio/user-guide/model-registry/add-a-model

If that doesn't help you, to better understand the priority for this, can you please explain your use case?

aguschin commented 1 year ago

I meant the code snippet here, please note it has an example of adding an annotation.