Skip to content

Export onnx error #22

Description

@haikunzhang95

Dear all,

Hi!

I tried to export the onnx model using torch.onnx.export() but it failed. The error message is as follows:

TyperError: state_dict() takes 1 positional argument but 3 were given

Does anyone know what's going on? Can anyone share the experience of successfully exporting the onnx model?

Thank U all!

Kind Regards

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