-
Notifications
You must be signed in to change notification settings - Fork 225
should I transfer the label into one-hot? #9
Comments
Yes, y_a and y_b are assumed to be one-hot encoding of labels. The CIFAR-10 code should serve as a working example -- you can print its variable type / size / etc. and make a side-by-side comparison with your implementation, which hopefully will give you enough information to debug your code. Best, |
It's not one-hot encoding. |
Hey.
I am trying to use your code to train my model.
and I have noticed that y_a and y_b should be one-hot.so when I implement your code in my experiment ,should I encode the label which is integer into one-hot ???
and I have transfer it in one-hot and start train .....but I found that the correct is always zero.....
The text was updated successfully, but these errors were encountered: