Closed sumitsinha closed 6 years ago
The output labels for each point are single numbers between 1-40. The last output layer has 40 output units. I wanted to know should the labels be converted to one hot encoding (vector of 40 values) before giving it to the for model training?
I see we are using sparse_softmax_cross_entropy_with_logits in the loss function that takes care of one-hot encoding problem.
The output labels for each point are single numbers between 1-40. The last output layer has 40 output units. I wanted to know should the labels be converted to one hot encoding (vector of 40 values) before giving it to the for model training?