Only log certain metrics with spacy.MLflowLogger.v2 #13140
Unanswered
ryuzakinho
asked this question in
Help: Coding & Implementations
Replies: 1 comment 2 replies
-
Hi @ryuzakinho, thanks for reporting this. I'll look into this. In the meantime you can register your own logger that doesn't write the stats regardless, if you absolutely do not want them in your MLFlow experiment setup. You can have a look at the logger implementation as a starting point. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the spacy.MLflowLogger.v2 logger in spaCy while training a textcat model. Here's how my logger config looks like:
The logging works well, however, it is logging metrics I do not plan to track and I would therefore only like to track a couple of metrics e.g.
cats_macro_f
andcats_micro_f
.I have tried using the
log_custom_stats = ["cats_micro_f"]
option, however, it still logs all the other metrics. In fact, when looking at the logger source code, I can see the following function:Which will anyway log all metrics in
_log_step_mlflow
before using the regular expressions listed inlog_custom_stats
.Could anyone please explain how I prevent
spacy.MLflowLogger.v2
from logging all metrics and only log specific metrics?Beta Was this translation helpful? Give feedback.
All reactions