You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to run MnistExample, I am getting an IllegalStateException:
Exception in thread "main" java.lang.RuntimeException: java.lang.IllegalStateException: Hidden unit type must either be rectified linear or binary
at org.deeplearning4j.nn.BaseMultiLayerNetwork$Builder.build(BaseMultiLayerNetwork.java:3284)
at org.deeplearning4j.dbn.DBN$Builder.build(DBN.java:801)
at org.deeplearning4j.example.mnist.MnistExample.main(MnistExample.java:40)
Caused by: java.lang.IllegalStateException: Hidden unit type must either be rectified linear or binary
at org.deeplearning4j.rbm.RBM.sampleHiddenGivenVisible(RBM.java:350)
at org.deeplearning4j.nn.BaseMultiLayerNetwork.init(BaseMultiLayerNetwork.java:383)
at org.deeplearning4j.nn.BaseMultiLayerNetwork.initializeLayers(BaseMultiLayerNetwork.java:344)
at org.deeplearning4j.nn.BaseMultiLayerNetwork$Builder.build(BaseMultiLayerNetwork.java:3271)
... 2 more
The text was updated successfully, but these errors were encountered:
While trying to run MnistExample, I am getting an IllegalStateException:
The text was updated successfully, but these errors were encountered: