Description
Hi ,
I run the FaceDetectionSample1.java on the MAC and then got the exception like:
Exception in thread "main" java.lang.IllegalStateException: Can't transpose array with rank < 2: array shape [4]
at org.nd4j.base.Preconditions.throwStateEx(Preconditions.java:641)
at org.nd4j.base.Preconditions.checkState(Preconditions.java:304)
at org.nd4j.linalg.api.ndarray.BaseNDArray.transpose(BaseNDArray.java:4440)
at net.tzolov.cv.mtcnn.MtcnnUtil.generateBoundingBox(MtcnnUtil.java:415)
at net.tzolov.cv.mtcnn.MtcnnService.preparationStage(MtcnnService.java:312)
at net.tzolov.cv.mtcnn.MtcnnService.rawFaceDetection(MtcnnService.java:255)
at net.tzolov.cv.mtcnn.MtcnnService.faceDetection(MtcnnService.java:184)
at net.tzolov.cv.mtcnn.sample.FaceAlignmentSample.main(FaceAlignmentSample.java:52)
seems like throw exception at "INDArray score = imap.get(yx).transpose();"
Could you help me about this? Thank you