Skip to content

ONNX export problem #64

@NickHauptvogel

Description

@NickHauptvogel

Hi,

I am posting a description of the issue in this repo as I used PyEDDL, however it will most likely concern EDDL and not the bindings.

When exporting similarly trained models with good training scores in version 0.14.0 (EDDL v0.9.2b) and version 1.0.0 (EDDL v.1.0.2a) into .onnx, the model from version 1.0.0 performs significantly worse afterwards. It does not degrade completely, but the test loss after export and import is about 10x higher in v1.0.0 than in v0.14.0. Keeping the application unchanged and solely switching the version back to v0.14.0 and repeating training and export does resolve the issue.
I noticed that the model file in v1.0.0 is larger by a few bytes, so something must have changed during the .onnx export between the versions. I suspect that it may be due to any float conversion or cut-off,
but it could also be a third-party dependency of the export that has changed. Inspecting both model and their weights, I cannot tell a difference at first sight.

I have sent @salvacarrion the models from both versions for comparison.

Best regards,

Nick

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