Skip to content

onnx ver.1.4 is not supported #93

@ZyuZyuZyu

Description

@ZyuZyuZyu

I am using the Pytorch ver 1.0.0 which is exporting onnx model in ver 1.4.0, directly lead to the upsample operation transfering failed.
the representation of Upsample-op in the older version is now supported looks like
{
'Upsample',
inputs=['X'],
outputs=['Y'],
mode='nearest',
width_scale=2,
height_scale=2,
}
but in the new verison of ONNX, Upsample-op looks like
{
'Upsample',
inputs=['X', 'scales'],
outputs=['Y'],
mode='nearest',
}

Is there a way to modify the model_optimizer source code to make it work tranfering the new ops in ONNX and if yes how can I do it efficiently?

Any advice is welcome !

Metadata

Metadata

Assignees

No one assigned

    Labels

    category: MOModel OptimizerquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions