Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a list of models that can export ONNX? #7020

Closed
wxqwinner opened this issue Jul 12, 2023 · 5 comments
Closed

Is there a list of models that can export ONNX? #7020

wxqwinner opened this issue Jul 12, 2023 · 5 comments
Assignees
Labels

Comments

@wxqwinner
Copy link

'vad_multilingual_frame_marblenet' can.t export. is there a restriction on exporting models for some reason?

import nemo.collections.asr as nemo_asr
model = nemo_asr.models.EncDecFrameClassificationModel.from_pretrained(model_name="vad_multilingual_frame_marblenet")

model.export('test.onnx', onnx_opset_version=12)

error:
'EncDecFrameClassificationModel' object has no attribute 'output_names'

@titu1994
Copy link
Collaborator

It depends on a case by case basis, not all models are exportable. We don't have a list as such of models that are Exportable, but generally they will subclass Exportable mixin.

@stevehuang52 @fayejf is this model supposed to be exportable ?

@stevehuang52
Copy link
Collaborator

stevehuang52 commented Jul 17, 2023

sorry for the delay, I'll take a loot and update later. EncDecFrameClassificationModel inherits the EncDecClassificationModel class which was able to export some time ago, I'll check if something's changed..

@stevehuang52 stevehuang52 self-assigned this Jul 17, 2023
@stevehuang52
Copy link
Collaborator

stevehuang52 commented Jul 19, 2023

@wxqwinner The export error was fixed here 7076, please use the latest NeMo main branch and let use know if there're further issues.

@github-actions
Copy link
Contributor

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Aug 19, 2023
@github-actions
Copy link
Contributor

This issue was closed because it has been inactive for 7 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants