Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: OpenVINO does not support the following ONNX operations: DeformConv #24635

Open
3 tasks done
Mitix-EPI opened this issue May 22, 2024 · 3 comments
Open
3 tasks done
Assignees
Labels
bug Something isn't working category: ONNX FE OpenVINO ONNX FrontEnd

Comments

@Mitix-EPI
Copy link

OpenVINO Version

openvino==2024.1.0

Operating System

Ubuntu 18.04 (LTS)

Device used for inference

CPU

Framework

ONNX

Model used

No response

Issue description

Openvino supports ONNX opset 20. Howerver, openvino does not support DeformConv 19

image

Step-by-step reproduction

import onnx
import onnx.helper as helper
import numpy as np
import openvino as ov

if __name__ == '__main__':
    input = helper.make_tensor_value_info(name='input', elem_type=onnx.TensorProto.FLOAT, shape=[1, 64, 512, 960])
    output = helper.make_tensor_value_info(name='output', elem_type=onnx.TensorProto.FLOAT, shape=[1, 64, 512, 960])
    weight = helper.make_tensor(name='weight', data_type=onnx.TensorProto.FLOAT, dims=[64,64,3,3], vals=np.random.randn(64,64,3,3))
    offsets = helper.make_tensor_value_info(name='offsets', elem_type=onnx.TensorProto.FLOAT, shape=[1, 18, 512, 960])
    node = helper.make_node(name='dcn', op_type='DeformConv', inputs=['input', 'weight', 'offsets'], outputs=['output'], kernel_shape=[3, 3], strides=[1, 1],
                            group=1, pads=[0, 0, 0, 0])
    graph = helper.make_graph(name='graph', nodes=[node], inputs=[input, offsets], outputs=[output], initializer=[weight])
    model = helper.make_model(graph)
    onnx.checker.check_model(model)
    print(model)
    onnx.save_model(model, 'create_dcn.onnx')

    ov.compile_model("create_dcn.onnx")

Relevant log output

Trace: `OpenVINO does not support the following ONNX operations: DeformConv`

Issue submission checklist

  • I'm reporting an issue. It's not a question.
  • I checked the problem with the documentation, FAQ, open issues, Stack Overflow, etc., and have not found a solution.
  • There is reproducer code and related data files such as images, videos, models, etc.
@Mitix-EPI Mitix-EPI added bug Something isn't working support_request labels May 22, 2024
@rkazants rkazants added the category: ONNX FE OpenVINO ONNX FrontEnd label May 22, 2024
@rkazants
Copy link
Contributor

@gkrivor, @mlukasze, GFI? We have DeformableConv in our opset.

Best regards,
Roman

@mlukasze
Copy link
Contributor

@gkrivor, @mlukasze, GFI? We have DeformableConv in our opset.

Best regards, Roman

good idea

@mlukasze
Copy link
Contributor

GFI has been created
#24649

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working category: ONNX FE OpenVINO ONNX FrontEnd
Projects
None yet
Development

No branches or pull requests

5 participants