Comments (4)
Hi, @Pensarfeo
I apologize for the delayed response and I see currently you're using --use_structured_outputs_names
(Changes output of graph model to match the structured_outputs format instead of list format. Defaults to False.) option in tfjs-converter
command which is recommended approach.
In Python code I believe you've assigned meaningful names to your model's outputs heads, I would suggest you verify output heads names once by printing the model summary with the help of model.summary()
and during conversion include --use_structured_outputs_names=True
in your conversion command with this setup, the converted TFJs model will have named outputs that match the names you assigned in Python. You can then access them by name something like below :
const outputTfJs = await model.executeAsync(colorCenterPatchersNorm);
const semanticOutput = outputTfJs['semantic'];
const dxdywhOutput = outputTfJs['dxdywh'];
If possible could you please help us with your complete code-snippet or Github repo along with your model and complete steps to replicate the same behavior from our end to investigate this issue further from our end ?
Thank you for your understanding and patience.
from tfjs.
Thanks for your answer!
I'm not currently working on the model right now, so ill se what I can provide you once I am back to work on it.
Thanks again and thanks for building this amazing tool :)
from tfjs.
Hi, @Pensarfeo
You're welcome! Feel free to reach out whenever you're back to working on the model and we'll do our best to help further. In the meantime, Thank you so much for the kind words about the tool!
To confirm, would you like to close this issue for now and create a new one when you're ready to resume working on the model ?
Thank you for your understanding and patience.
from tfjs.
@gaikwadrahul8 I think its better to keep it open to avoid having too many repeated issues.
but also keeping it open or closed probably matters more to you so feel free to close it if it helps you better manage the issues in this repo 😉.
Cheers
from tfjs.
Related Issues (20)
- Question: is the Windows tensorflow binary / dll used in tfjs-node compiled with support for zenDNN optimisations? HOT 2
- Standard layers (like `tf.layers.dense`) fail to report their trainable weights, when used from within a custom layer HOT 2
- Error installing @tensorflow/tfjs-node at WSL Ubuntu HOT 3
- Bug when stacking LSTM HOT 4
- Tensor construction fails for the majority of TypedArray types HOT 1
- Trouble loading a saved model in tfjs-node, "Op type not registered 'DisableCopyOnRead'" HOT 1
- tfjs-node - upgrade tar >=6.2.1 HOT 3
- Undefined variable tensorflow-library-target in binding.gyp HOT 4
- tensorflowjs_converter: NotImplementedError: numpy() is only available when eager execution is enabled HOT 9
- tensorflowjs_converter on .keras file messes up weights HOT 4
- Safari webworker `Error when getting WebGL Context`
- tfjs-node-gpu warnings (not running in GPU mode) HOT 2
- Model with softmax output layer not outputing probabilities but just 1 and 0 HOT 2
- Model Face Detection Confidence Score Output or Minimum Confidence Score Threshold
- model.executeAsync fails when loading multiple converted TF-DF models HOT 1
- TensorFlowJS fails reliably on Intel GPU running Windows, otherwise succeeds HOT 1
- Error when a module try to install tensorflow HOT 4
- I can't install @tensorflow/tfjs-node in my project HOT 5
- Finish placeholder features: einsum gradients, conv1d causal padding HOT 3
- Tfjs pose detection not working with newer Android devices (12, 13, 14) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tfjs.