Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run the 0.0.5-SNAPSHOT version FaceDetectionSample1.java on the MAC got exception #8

Open
ericwang1984 opened this issue Jan 29, 2019 · 0 comments

Comments

@ericwang1984
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant