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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: