Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

ONNX export opset version #16

@huettern

Description

@huettern

When doing the first nemo.utils.export_onnx in the MNIST example, I get an error

RuntimeError: Exporting the operator round to ONNX opset version 9 is not supported. Support for this operator was added in version 11, try exporting with this version.

Appending opset_version=11 to the utils.py file torch.onnx.export fixed the issue for me. Is that the correct fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions