Open hanwentao opened 8 years ago
Hi @hanwentao , I aslo encountered the same issue. I wonder if you have figured out how to fix it? Thanks!
Your issue may be that the targets are not onehot encoded.
You may want to use this code to onehot the targets: https://github.com/MatthieuCourbariaux/BinaryNet/blob/master/Train-time/mnist.py#L109
When running svhn.py, a runtime error occurred, indicating a dimension mismatch. Both this program and the program under BinaryConnect project have the same problem. Is there something wrong with the data I downloaded?