print out the metrics before the NaN assert check