Tabular : Dimension out of range (expected to be in range of [-1, 0], but got 1)

Changing metrics won’t help. It’s the loss function you need to set correctly.