face-api.js icon indicating copy to clipboard operation
face-api.js copied to clipboard

Not able to load models properly in ionic

Open juny58 opened this issue 5 years ago • 4 comments

hi, I am not able to load the models successfully in ionic. However, there was no problem running it in broswer and serving in localhost. The errror is:

"Based on the provided shape, [3,3,32,1], the tensor should have 288 values but has 177"

juny58 avatar Feb 23 '20 15:02 juny58

Inspect the network tab and make sure, that the shards are all loaded correctly and that they are not corrupted, e.g. the size of the fetched shards is unchanged.

justadudewhohacks avatar Feb 28 '20 09:02 justadudewhohacks

Thanks man. Solved it by file accessing process recommended in ionic, as it can not access local file. Thanks again.

juny58 avatar Feb 28 '20 20:02 juny58

accessing

Hi @juny58 , I'm also facing a similar problem in ionic. Can you just brief me on how do you solve this?

pravinkumarputta avatar Feb 24 '21 11:02 pravinkumarputta

Thanks man. Solved it by file accessing process recommended in ionic, as it can not access local file. Thanks again.

How did you fix this issue on ionic? I'm facing same problem. Thanks!

ariverorigin avatar Nov 30 '21 13:11 ariverorigin