Skip to content

Instantly share code, notes, and snippets.

@rubenfiszel
Created March 2, 2016 22:54
Show Gist options
  • Save rubenfiszel/f64b9c75ee7f7bb4eabe to your computer and use it in GitHub Desktop.
Save rubenfiszel/f64b9c75ee7f7bb4eabe to your computer and use it in GitHub Desktop.
java.lang.IllegalStateException: Invalid data transform; features and labels do not have equal rows. First was 1 labels was 100
at org.nd4j.linalg.dataset.DataSet.<init>(DataSet.java:85)
at org.nd4j.linalg.dataset.DataSet.<init>(DataSet.java:73)
at ccup.GameFetcher2.fetch(GameFetcher.scala:110)
at org.deeplearning4j.datasets.iterator.BaseDatasetIterator.next(BaseDatasetIterator.java:56)
at org.deeplearning4j.datasets.iterator.BaseDatasetIterator.next(BaseDatasetIterator.java:33)
at org.deeplearning4j.nn.graph.ComputationGraph.fit(ComputationGraph.java:467)
at ccup.SelfPlay$.train2(SelfPlay.scala:320)
at ccup.SoloGame$.delayedEndpoint$ccup$SoloGame$1(SoloGame.scala:14)
at ccup.SoloGame$delayedInit$body.apply(SoloGame.scala:6)
at scala.Function0$class.apply$mcV$sp(Function0.scala:34)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
at scala.App$$anonfun$main$1.apply(App.scala:76)
at scala.App$$anonfun$main$1.apply(App.scala:76)
at scala.collection.immutable.List.foreach(List.scala:381)
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
at scala.App$class.main(App.scala:76)
at ccup.SoloGame$.main(SoloGame.scala:6)
at ccup.SoloGame.main(SoloGame.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment