Skip to content

Error converting to onnx #2

@pg37013

Description

@pg37013

I'm trying to convert the pytorch model to onnx, doing: python -m spai export-onnx, but I'm getting the following error: torch._dynamo.exc.Unsupported: 'skip function MFViT.export_onnx.<locals>.ExportableMFVit.forward in file .venv\lib\site-packages\torch\onnx\_internal\fx\dynamo_graph_extractor.py'.

Do you know what can be causing this problem?

Thanks in advance

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