-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Loading Wasm and Activiting in Worker Causes Compile Error #3765
Comments
@Deamoner did you try with latest version , can you please provide steps and error message ? |
No version specified so it should be latest from npm.
I believe I put code. You just load/import and activate Wasm on tfjs and it errors out.
…Sent from my iPhone
On Aug 10, 2020, at 10:05 PM, Rajeshwar Reddy T ***@***.***> wrote:
@Deamoner did you try with latest version , can you please provide steps and error message ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
When using WASM backend in worker, you need to run |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 dyas if no further activity occurs. Thank you. |
Closing as stale. Please @mention us if this needs more attention. |
To get help from the community, we encourage using Stack Overflow and the
tensorflow.js
tag.TensorFlow.js version
2.0
Browser version
Latest Chrome
Describe the problem or feature request
Wanted to add and turn on wasm in the web worker. It loads the file but on set tfjs says compile error.
Code to reproduce the bug / link to feature request
If you would like to get help from the community, we encourage using Stack Overflow and the
tensorflow.js
tag.importScripts("https://cdn.jsdelivr.net/npm/@tensorflow/tfjs");
importScripts("https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm");
importScripts("https://cdn.jsdelivr.net/npm/@tensorflow-models/body-pix");
tf.setBackend('wasm').then(() => main());
GitHub issues for this repository are tracked in the tfjs union repository.
Please file your issue there, following the guidance in that issue template.
The text was updated successfully, but these errors were encountered: