ivan-vasilev / neuralnetworks

java deep learning algorithms and deep neural networks with gpu acceleration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RBM test error is 100% in MnistTest

McDucky opened this issue · comments

Why do I get a 100%error using the RBM test in MnistTest.java?

TESTING testRBM...
2.275 s total time
0.2275 s per minibatch of 10 mini batches
10000/10000 samples (1.0, 100.0%) error

Sorry for the late response. Judging by the log data it's possible that you don't have the mnist data files. You can download and extract them from this page (the first four links). The files have to be extracted under the nn-samples/ folder. I hope that helps

Hi Ivan,
Nice work here.
I just tried running MnistTest.java. I wonder why but and I am getting approximately 90% error. Is this expected observation?

TESTING testRBM...
2.7 s total time
0.27 s per minibatch of 10 mini batches
9146/10000 samples (0.9146, 91.46%) error

TESTING testLeNetSmall...
33.828 s total time
3.3828 s per minibatch of 10 mini batches
9020/10000 samples (0.902, 90.200005%) error

TESTING testLeNetTiny2...
3.174 s total time
3.173E-4 s per minibatch of 10000 mini batches
488/10000 samples (0.0488, 4.88%) error

TESTING testAE...
1.06 s total time
0.106 s per minibatch of 10 mini batches
8626/10000 samples (0.8626, 86.26%) error

TESTING testSigmoidBP...
1.076 s total time
0.1076 s per minibatch of 10 mini batches
898/10000 samples (0.0898, 8.98%) error

This should be fixed in the latest sources.