Skip to content

Instantly share code, notes, and snippets.

@rubenfiszel
Created March 2, 2016 22:52
Show Gist options
  • Save rubenfiszel/ade356611dea93c820ae to your computer and use it in GitHub Desktop.
Save rubenfiszel/ade356611dea93c820ae to your computer and use it in GitHub Desktop.
[error] (run-main-0) java.lang.ArrayIndexOutOfBoundsException: 960
java.lang.ArrayIndexOutOfBoundsException: 960
at org.nd4j.linalg.api.buffer.BaseDataBuffer.put(BaseDataBuffer.java:869)
at org.nd4j.linalg.api.buffer.BaseDataBuffer.put(BaseDataBuffer.java:860)
at org.nd4j.linalg.api.buffer.BaseDataBuffer.copyAtStride(BaseDataBuffer.java:441)
at org.nd4j.linalg.api.ndarray.BaseNDArray.assign(BaseNDArray.java:1025)
at org.nd4j.linalg.api.ndarray.BaseNDArray.reshape(BaseNDArray.java:3198)
at org.nd4j.linalg.api.ndarray.BaseNDArray.reshape(BaseNDArray.java:3238)
at ccup.GameFetcher$.normalizeInput(GameFetcher.scala:60)
at ccup.GameFetcher2.fetch(GameFetcher.scala:103)
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