Output Multiple Metrics?

Is there a way to output multiple metrics at once or do I have to use cnn_learner each time?

Here is a screenshot of my code so far.

You would simply need to pass them as a list

for example:
learner = cnn_learner(dls, resnet34, metrics=[F1Score(), error_rate])

1 Like

sure, you can do this:

avg = 'macro'
metrics=[accuracy, Precision(average=avg), Recall(average=avg), F1Score(average=avg)]

learn = can_learner(dls, resnet34, metrics=metrics)
1 Like

Thank you!