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

tfjs-node fails to run on election #8431

Open
charliez0 opened this issue Nov 8, 2024 · 3 comments
Open

tfjs-node fails to run on election #8431

charliez0 opened this issue Nov 8, 2024 · 3 comments
Assignees
Labels

Comments

@charliez0
Copy link

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template

System information

  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow.js): Yes/No(any call can break)
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 11
  • TensorFlow.js installed from (npm or script link): npm
  • TensorFlow.js version (use command below):
  • Tensorflow.js Converter Version:

Describe the current behavior
Failed to load .node bindings, copying tensorflow.dll can solve the problem
Describe the expected behavior
tfjs can load without any hacking method
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/CodePen/any notebook.

Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

@charliez0 charliez0 added the type:bug Something isn't working label Nov 8, 2024
@shmishra99 shmishra99 self-assigned this Nov 13, 2024
@shmishra99
Copy link
Contributor

Hi @charliez0 ,

I apologize for the delayed response. This is a known issue with tfjs-node. To temporarily resolve it, please manually copy the tensorflow.dll file from @tensorflow\tfjs-node\lib\napi-v9 to @tensorflow\tfjs-node\lib\napi-v8. We're working on a permanent fix.

Thank You!!

@charliez0
Copy link
Author

Hi @charliez0 ,

I apologize for the delayed response. This is a known issue with tfjs-node. To temporarily resolve it, please manually copy the tensorflow.dll file from @tensorflow\tfjs-node\lib\napi-v9 to @tensorflow\tfjs-node\lib\napi-v8. We're working on a permanent fix.

Thank You!!

I know that and waiting for a permanent fix

@shmishra99
Copy link
Contributor

Sure, I'll let you know as soon as it's resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants