`class index %d exceeds the length of the dense vector %d, index, dense_dim`