GithubHelp home page GithubHelp logo

Comments (9)

smidm avatar smidm commented on June 25, 2024
import tensorflowjs as tfjs
tfjs.converters.save_keras_model(dummy_model, "out/")

works without error

from tfjs.

gaikwadrahul8 avatar gaikwadrahul8 commented on June 25, 2024

Hi, @smidm

I apologize for the delay in responding, I was trying to replicate the same issue from my end and I'm able to reproduce the same behaviour from my end but I see you're saving your model in Keras HDF5 model (.h5) format for that you'll have to use this command !tensorflowjs_converter --input_format=keras model.h5 out/ insead of tensorflowjs_converter --input_format=keras_saved_model model.h5 out/, I tried from my end it seems like working as expected for your reference I have added gist-file here please refer our official documentation of tfjs_conveter

If I have missed something here please let me know. Thank you for your cooperation and patience.

from tfjs.

github-actions avatar github-actions commented on June 25, 2024

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

from tfjs.

smidm avatar smidm commented on June 25, 2024

Thanks, the fixed input format works for me also. I was confused by the input format options. There are currently 3 keras related: keras_saved_model, keras_keras, keras. The keras_keras is nowhere documented. This options combined with tfjs not supporting the new default .keras format was hell to navigate. Some consistency checks on the input would be greatly beneficial.

from tfjs.

smidm avatar smidm commented on June 25, 2024

What about adding a link to https://github.com/tensorflow/tfjs/tree/master/tfjs-converter to tensorflowjs_converter --help?

from tfjs.

gaikwadrahul8 avatar gaikwadrahul8 commented on June 25, 2024

Hi, @smidm

Thank you for your suggestion regarding to add a link https://github.com/tensorflow/tfjs/tree/master/tfjs-converter to tensorflowjs_converter --help . I appreciate you bringing this to our attention.

I will be sure to share your feedback during our next internal meeting. The team will discuss it and take appropriate action if necessary.

If your issue has been resolved, please feel free to close this issue.

Thank you for your cooperation and patience.

from tfjs.

github-actions avatar github-actions commented on June 25, 2024

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

from tfjs.

gaikwadrahul8 avatar gaikwadrahul8 commented on June 25, 2024

Hi, @smidm

We haven't got confirmation from your end so now I'm closing this issue and I'll keep this issue open #8266 for further update regarding to add a link https://github.com/tensorflow/tfjs/tree/master/tfjs-converter to tensorflowjs_converter --help

Thank you for your understanding and patience.

from tfjs.

google-ml-butler avatar google-ml-butler commented on June 25, 2024

Are you satisfied with the resolution of your issue?
Yes
No

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.