-
While I'm training my model, I want to store my model's scores like here we can see
But when I debug my code I see only these entries in metrics:
So my question is how to get somethings like
"eth/ip/udp/dns" is not important here, it's just the name I gave to the Loss, I don't think it modifies its behavior And I make my config object like this:
EDIT: I use
and
for the training and the validation, these two blocks of codes are in the same loop (epochs loop) multiDataset is a custom dataset I wrote EDIT2: I checked if
had values I wanted but the map was empty Furthermore, like my dataset, the block in the trainer's model (pathTrainer here) is a custom one |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I don't see where you are calling But, you can also add to the metric through the training listener system. It is designed to register certain events in your training and do operations automatically like adding evaluator data to the metrics. You are missing the calls to |
Beta Was this translation helpful? Give feedback.
I don't see where you are calling
metrics.addMetric()
which you probably need if you want to add to the metric.But, you can also add to the metric through the training listener system. It is designed to register certain events in your training and do operations automatically like adding evaluator data to the metrics. You are missing the calls to
onEpoch
,onTrainingBegin
, andonTrainingEnd
for theTrainingListener
. You can see an example usage here.