-
Notifications
You must be signed in to change notification settings - Fork 3.2k
onnx ver.1.4 is not supported #93
Copy link
Copy link
Closed
Labels
category: MOModel OptimizerModel OptimizerquestionFurther information is requestedFurther information is requested
Description
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 !
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
category: MOModel OptimizerModel OptimizerquestionFurther information is requestedFurther information is requested