GithubHelp home page GithubHelp logo

Comments (4)

gaikwadrahul8 avatar gaikwadrahul8 commented on May 27, 2024

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.

Pensarfeo avatar Pensarfeo commented on May 27, 2024

@gaikwadrahul8

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.

gaikwadrahul8 avatar gaikwadrahul8 commented on May 27, 2024

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.

Pensarfeo avatar Pensarfeo commented on May 27, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.