Git Product home page Git Product logo

Comments (6)

faressc avatar faressc commented on June 30, 2024

Hi @nagra00,
thanks for reaching out. Happy to hear you like Scyclone!
We are currently working on a second repository, with instructions on how to train and convert the RAVE models. In order to export to onnx, specific flags in the RAVE training are required. We will keep you updated as soon as the repository is online.
Also we are working on linking the onnx library as a static library (check out our new develop branch). So there are news to come.

from scyclone.

nagra00 avatar nagra00 commented on June 30, 2024

So this means that it is not possible to convert an already trained torch model to onnx?

Static or dynamic onnx makes no difference to me. For MacOS 10.13 i have to compile Scyclone anyway. I took a quick look at the dev branch and noticed that you have already adapted the code to the onnx API change.

from scyclone.

faressc avatar faressc commented on June 30, 2024

So this means that it is not possible to convert an already trained torch model to onnx?

Yes it is possible that models which have been trained without these flags can't be converted to onnx properly. But more info on that very soon.

I took a quick look at the dev branch and noticed that you have already adapted the code to the onnx API change.

Yes, thanks for the hint!

from scyclone.

amirpashamobinitehrani avatar amirpashamobinitehrani commented on June 30, 2024

Hi @nagra00!

As already mentioned above specific flags are required to be passed to the training script in order to successfully export onnx models for Scyclone. It is still probable to export already trained RAVE models to onnx without those flags. I assume you have already tried:

rave export_onnx --run /path/to/the/run/directory

If the script returns an error, could you please send over the training .gin file as well as the error message so we can take a look at it? Thanks for your patience in the meantime!

from scyclone.

nagra00 avatar nagra00 commented on June 30, 2024

Hi,

I have not trained any models myself, it just takes way too long.

What I was looking for is a conversion of the existing RAVE models to onnx. I thought this would be possible by keeping the tensors and replacing the algebraic parts with appropriate onnx versions. But as I understand it, this is not possible.

from scyclone.

vackva avatar vackva commented on June 30, 2024

There are some existing onnx RAVE models you can use with Scyclone:
https://github.com/caillonantoine/ravejs/tree/master/models

from scyclone.

Related Issues (8)

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.