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

posenet demo compile error when use devtool preview #102

Open
chen-yt opened this issue Jun 17, 2021 · 1 comment
Open

posenet demo compile error when use devtool preview #102

chen-yt opened this issue Jun 17, 2021 · 1 comment

Comments

@chen-yt
Copy link

chen-yt commented Jun 17, 2021

To get help from the community, we encourage using Stack Overflow and the tensorflow.js tag.

TensorFlow.js version 3.5.0
tfjs-wechat plugin version 0.2.0
WeChat version none
WeChat base API version 2.17.3
WeChat IDE version 1.05.2105170
Describe the problem or feature request
The posenet demo with latest code compile error when use devtool preview, see the information
message:Error: miniprogram_npm/@tensorflow/tfjs-backend-webgl/index.js: file: miniprogram_npm/@tensorflow/tfjs-backend-webgl/index.js
Unexpected token: operator (>)
1037 | var _loop = function (_t3) {
1038 | var r = n.util.indexToLoc(_t3, u, l),

1039 | o = r.slice(-p);x.forEach(e => o[e] = 0);var s = n.util.locToIndex(o, p, h),
| ^
1040 | c = r.slice(-f);g.forEach(e => c[e] = 0);var m = n.util.locToIndex(c, f, v);d[_t3] = e(a[s], i[m]);
1041 | };
1042 |
ideVersion: 1.05.2105170
osType: darwin-x64
time: 2021-06-17 16:23:53

Code to reproduce the bug / link to feature request

@chen-yt
Copy link
Author

chen-yt commented Jun 17, 2021

By the way, posenet demo run in above iOS v14.5 will cause range error, use tf.broswer.fromPixels can solve this problem, but I feel the efficiency has decresed.

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