Hi I have managed to get my code working for training, yet after 1 epoch I am getting weird results for the evaluation and also an error
Trainer is attempting to log a value of "[0. 0. 0. 1. 0.]" of type 
<class 'numpy.ndarray'> for key "eval/recall" as a scalar. This 
invocation of Tensorboard's writer.add_scalar() is incorrect 
so we dropped this attribute.

and then an error
TypeError: Object of type ndarray is not JSON serializable

I used the compute_metrics (measure accuracy, f1, precision and accuracy) provided by the tutorial and I am doing a classification task with 5 task.