Giter Club home page Giter Club logo

Comments (4)

pacospace avatar pacospace commented on May 16, 2024 2

Hi @pacospace, thank you for raising this to our attention. We'll work on the migration of the ONNX export flows for Keras since that is now deprecated along with the docs. I'll update here once that migration is complete. In the interim, our current Keras export flows are tested with the older versions, so if you're willing to downgrade those should continue to work for you.

Thanks,
Mark

Hi @markurtz, happy to contribute to it. I actually switched to Pytorch where everything works perfectly and managed to deploy a pruned Neural Magic model with deepsparse!

from sparseml.

pacospace avatar pacospace commented on May 16, 2024

The cause seems to be the package itself that you suggest to install, that works only with certain version of tf and onnx. Docs should be updated to use https://github.com/onnx/tensorflow-onnx.

from https://github.com/onnx/keras-onnx

We stopped active development of keras2onnx and keras2onnx is now frozen to tf-2.3 and onnx-1.10.
To convert your Keras models you can head over to tf2onnx which can convert Tensorflow, Keras, Tflite and Tensorflow.js models. All keras2onnx unit tests have been added to the tf2onnx ci pipeline to make sure there are no avoidable regressions.

from sparseml.

markurtz avatar markurtz commented on May 16, 2024

Hi @pacospace, thank you for raising this to our attention. We'll work on the migration of the ONNX export flows for Keras since that is now deprecated along with the docs. I'll update here once that migration is complete. In the interim, our current Keras export flows are tested with the older versions, so if you're willing to downgrade those should continue to work for you.

Thanks,
Mark

from sparseml.

bfineran avatar bfineran commented on May 16, 2024

Closing this issue now. @pacospace great to hear - the keras export migration ended up not landing as keras fell off the roadmap, but happy to take a look at any contributions if you still have them handy.

from sparseml.

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.