Thanks to visit codestin.com
Credit goes to github.com

Skip to content

the tensor should have 25 values but has 21 #4

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

Closed
sepulm01 opened this issue Aug 23, 2019 · 3 comments
Closed

the tensor should have 25 values but has 21 #4

sepulm01 opened this issue Aug 23, 2019 · 3 comments

Comments

@sepulm01
Copy link

Hi, I try to use in an other folder al root dir called /face but I think this error is relate to other reasons:
Console log:
face-api.min.js:1 Uncaught (in promise) Error: Based on the provided shape, [25], the tensor should have 25 values but has 21
at D (face-api.min.js:1)
at Ge (face-api.min.js:1)
at e (face-api.min.js:1)
at jc (face-api.min.js:1)
at face-api.min.js:1
at Array.forEach ()
at face-api.min.js:1
at Array.forEach ()
at face-api.min.js:1
at face-api.min.js:1

@WebDevSimplified
Copy link
Owner

I am not sure what this error is. Most likely if you changed root directories your paths in the application are incorrect.

@mrjizz
Copy link

mrjizz commented Jan 14, 2020

same thing here trying to use tinyfacedetector

"Uncaught (in promise) Error: Based on the provided shape, [25], the tensor should have 25 values but has 21"

await faceapi.nets.tinyFaceDetector.loadFromUri('/models')

@valentinbdv
Copy link

Same for me! I can't find a way to avoid that error.

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

4 participants