How to get metrics of val using create_cnn?

learn = create_cnn(
data,
resnet50,
path=path,
metrics=[f1,acc]
)
learn.model = nn.DataParallel(learn.model)

metrics seem are train_loss, val_loss, f1_train and acc_train, how can I get metrics for val?

I think the metrics that you specify(f1 and acc) are only for validation data and not for training data. So as a result you will get train_loss, val_loss, f1_val, acc_val.

Thanks!