Skip to content

log model with tags #6040

Answered by BenWilson2
PietrassykFP asked this question in Q&A
Discussion options

You must be logged in to vote

The log_model() function in all flavors is a single-purpose function serving solely to do what it is intended to do: log the model as an artifact to a location defined by your artifact_uri and the path you specify, as well as applying a metadata entry to the tracking server about where to fetch it when used through other APIs.
That being said, the tags that you see in the UI aren't linked to the model artifact; rather, then are associated to the run.
In order to populate these tags programmatically you'll want to refer to the active run and apply your tags within the run context by using the fluent API.

There are a few ways to do this...
An example of using the active run context at insan…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by JHibbard
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants