Face-Detection-JavaScript icon indicating copy to clipboard operation
Face-Detection-JavaScript copied to clipboard

the tensor should have xxxx values but has xxxx

Open magp18 opened this issue 6 years ago • 2 comments

I have everything as per youtube tutorial, still I get this error: face-api.min.js:1 Uncaught (in promise) Error: Based on the provided shape, [1,1,256,256], the tensor should have 65536 values but has 39252 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

Any suggestions?

magp18 avatar Nov 19 '19 17:11 magp18

are you using 'tinyfacedetector' ?

mrjizz avatar Jan 14 '20 23:01 mrjizz

Maybe it will help somebody:

The error occurred when I started my local server with --spa, when removed it error gone

maxim1006 avatar Sep 01 '20 14:09 maxim1006