Advertisement
aironman

exception for Klevis

Sep 9th, 2019
172
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. java.lang.IllegalStateException: Illegal set of indices for array: need at least 1 point/interval/all/specified indices for rank 1 array ([9472]), got indices [Point(0), Interval(b=0,e=64,s=1)]
  2.  
  3. at org.nd4j.base.Preconditions.throwStateEx(Preconditions.java:641)
  4. at org.nd4j.base.Preconditions.checkState(Preconditions.java:412)
  5. at org.nd4j.linalg.api.ndarray.BaseNDArray.get(BaseNDArray.java:4910)
  6. at org.deeplearning4j.nn.layers.BaseLayer.setParams(BaseLayer.java:206)
  7. at org.deeplearning4j.nn.layers.convolution.ConvolutionLayer.setParams(ConvolutionLayer.java:483)
  8. at com.aironman.demoFaceRecognition.service.FaceNetSmallV2Helper.loadWeights(FaceNetSmallV2Helper.java:143)
  9. at com.aironman.demoFaceRecognition.service.FaceNetSmallV2Model.init(FaceNetSmallV2Model.java:440)
  10. at com.aironman.demoFaceRecognition.service.FaceRecognitionService.loadModel(FaceRecognitionService.java:35)
  11. at com.aironman.demoFaceRecognition.DemoFaceRecognitionApplicationTests.loadModel(DemoFaceRecognitionApplicationTests.java:26)
  12.  
  13.  
  14. @Test
  15. public void loadModel() throws Exception {
  16. Assert.assertTrue(service.loadModel());
  17. }
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement