question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Easy way to convert model?

See original GitHub issue

Hi, Thanks for great project!

I’m working on a sepformer model. I trained a model and tried to convert it from .ckpt to .mnn. But there is some problems. 1. How to use model = separator.hparams to convert this loaded model? Is there a function to convert it to .onnx or .pb ? 2. If Q1’s answer is no, should I use TF to load the model then convert it? 3. Is there any other better way to convert the model file?

Thanks very much!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12

github_iconTop GitHub Comments

2reactions
Gastroncommented, Sep 14, 2021

Closing the issue as it was answered - though let’s make a note that there is interesting in a JITable version of SepFormer.

1reaction
vadimkantorovcommented, Nov 19, 2021

Hi @Gastron! Mind reopening this issue while #1142 is being discussed?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Model Conversions | In Few Simple Steps 2022 - Tezeract
An In-Depth Guide To Model Conversions in Few Simple Steps ... We can easily convert the yolov5 PyTorch models into different models as ......
Read more >
Model conversion | TensorFlow.js
A command line utility that converts Keras and TensorFlow models for use in TensorFlow.js. An API for loading and executing the model in...
Read more >
3 simple steps to convert a mathematical formula to a model
3 simple steps to convert a mathematical formula to a model · Step 1 – variable declaration · Step 2 – model definition...
Read more >
c# - Generic way to convert one model to another model
I'd suggest you look at something like Automapper which does exactly what you're asking for. It allows you lots of configuration options, ...
Read more >
Different ways to convert a model — sklearn-onnx 1.11 ...
Predict with onnxruntime · Simple KMeans · Pipeline and a custom object · Display the ONNX graph ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found