Multiple loadHandlers registered in node
See original GitHub issueTensorFlow.js version
“@tensorflow/tfjs”: “1.0.2”, “@tensorflow/tfjs-node”: “1.0.2”, “@tensorflow-models/universal-sentence-encoder”: “1.0.1”,
Browser version
It exhibits in node.js though the issue itself may be in core.
Describe the problem or feature request
Using the above packages and the code below you get the following error.
UnhandledPromiseRejectionWarning: Error: Found more than one (2) load handlers for URL 'https://storage.googleapis.com/tfjs-models/savedmodel/universal_sentence_encoder/model.json'
Multiple load handlers are being registered. This isue dows not occur with union package 1.0.1
Code to reproduce the bug / link to feature request
const tf = require('@tensorflow/tfjs-node');
global.fetch = require('node-fetch');
const useLoader = require('@tensorflow-models/universal-sentence-encoder');
(async function run() {
console.time('Loading Universal Sentence Encoder');
const use = await useLoader.load();
console.timeEnd('Loading Universal Sentence Encoder');
})()
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:8 (2 by maintainers)
Top Results From Across the Web
node.js - Register same event listener twice or two different ...
I have a Node JS express app with four connection events (connected/ disconnected/ error/ process end). I am registering listeners for these ...
Read more >OpenGLContext.loaders.loader - PyOpenGL - SourceForge
Is a generic class which provides download services which follow VRML97 semantics (multiple-URL definitions, with chaining to the first successful URL).
Read more >Untitled
This registration allows the ISA bus driver to call back the ISA device ... The ISA device's own node, which identifies the node...
Read more >WO2001044935A1 - Computer system with an improved device and ...
The device registry entry may further comprise a node identifier, defining an associated node in ... 7 is a flowchart illustrating a driver...
Read more >Get
Note that the Get Utility will not automatically purge CSS <link> nodes by ... In fact, you can even call execute() multiple times...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI this should be fixed in 1.1, we might have to update USE.
Hi, I meet similar problems when run PoseNet model with latest TFJS code. The errors are:
And How I run into this:
At first, I suspect some thing is wrong with my local environment. So I remove all links inside C:\Users\axing\AppData\Local\Yarn\Data\link, then delete all C:\Users\axing\AppData\Local\Yarn\Cache\v6\npm-@tensorflow-*
However, this still not work.