question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tfjs-node native saver/loader may not be fully functional on MS Windows

See original GitHub issue

TensorFlow.js version

0.12.2

A line such as await model.save('file://./model') gives error:

Cannot find any save handlers for URL ‘file://model/’

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
caisqcommented, Oct 2, 2018

Please remove this dependency from your package.json:

@tensorflow/tfjs”: “^0.13.1”

@tensorflow/tfjs-node version 0.1.17+ depends on @tensorflow/tfjs . If you manually specify a version of @tensorflfow/tfjs, you cause two separate versions of tfjs to be imported, which leads to the issue you are experiencing.

0reactions
deanshubcommented, Oct 3, 2018

Thanks @caisq that did it 🥇

Read more comments on GitHub >

github_iconTop Results From Across the Web

@tensorflow/tfjs-node - npm
This repository provides native TensorFlow execution in backend JavaScript applications under the Node.js runtime, accelerated by the TensorFlow ...
Read more >
Unable to "npm install @tensorflow/tfjs-node" - Stack Overflow
Finally, i can run TensorFlow.js Node sample on Windows. Indeed, it runs on Ubuntu WSL (Windows Subsystem for Linux).
Read more >
Environments for running AI in Node.js - IBM Developer
Explore some of the environments and back ends that are available to better run machine learning tasks in Node.js with TensorFlow.js.
Read more >
NodeJs: Getting "Error: The specified module could not be ...
I am getting the "Error: The specified module could not be found\\?\C:\Program Files\nodejs\tf\node_modules\@tensorflow\tfjs-node\lib\napi-v5\tf ...
Read more >
TensorFlow.js in Node
This package will work on Linux, Windows, and Mac platforms where TensorFlow is supported. Note: You do not have to import '@tensorflow/tfjs' or ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found