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

请教一个问题 #9

Open
aliceswimmer opened this issue Sep 4, 2022 · 0 comments
Open

请教一个问题 #9

aliceswimmer opened this issue Sep 4, 2022 · 0 comments

Comments

@aliceswimmer
Copy link

更新tfjs-model的facelandmark包,选取的是tfjs的模型。(mediapipe是从外面拉js文件,但是外面的文件用的不是微信fetch,暂时就不尝试了)
tfjs 报了一个错误
WAServiceMainContext.js:2 Error: The shape of dict['input'] provided in model.execute(dict) must be [-1,192,192,3], but was [1,128,128,3]

192的大小设置是明确的
这个-1 及 128 在哪里设置的呢?还是被动计算出来的?

麻烦大神帮忙解答一下

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