From 767a8cc9011866224fb789fb97c7354bf54a84a6 Mon Sep 17 00:00:00 2001 From: Vladislav Sovrasov Date: Tue, 20 Jun 2023 05:01:14 +0900 Subject: [PATCH] Fix opset version collisions --- otx/core/ov/ops/activations.py | 2 +- otx/core/ov/ops/movements.py | 2 +- otx/core/ov/ops/shape_manipulations.py | 2 +- otx/core/ov/ops/sorting_maximization.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/otx/core/ov/ops/activations.py b/otx/core/ov/ops/activations.py index b3c970de7a1..f71cd2e0a7a 100644 --- a/otx/core/ov/ops/activations.py +++ b/otx/core/ov/ops/activations.py @@ -45,7 +45,7 @@ class SoftMaxV1(Operation[SoftMaxV1Attribute]): """SoftMaxV1 class.""" TYPE = "Softmax" - VERSION = "opset1" + VERSION = "opset2" ATTRIBUTE_FACTORY = SoftMaxV1Attribute def forward(self, inputs): diff --git a/otx/core/ov/ops/movements.py b/otx/core/ov/ops/movements.py index 4484dc7b619..cd1e50b231e 100644 --- a/otx/core/ov/ops/movements.py +++ b/otx/core/ov/ops/movements.py @@ -178,7 +178,7 @@ class GatherV1(Operation[GatherV1Attribute]): """GatherV1 class.""" TYPE = "Gather" - VERSION = "opset1" + VERSION = "opset2" ATTRIBUTE_FACTORY = GatherV1Attribute def forward(self, inputs, indices, axis): diff --git a/otx/core/ov/ops/shape_manipulations.py b/otx/core/ov/ops/shape_manipulations.py index c2878a78b32..789766c1fc9 100644 --- a/otx/core/ov/ops/shape_manipulations.py +++ b/otx/core/ov/ops/shape_manipulations.py @@ -153,7 +153,7 @@ class ShapeOfV3(Operation[ShapeOfV3Attribute]): """ShapeOfV3 class.""" TYPE = "ShapeOf" - VERSION = "opset1" + VERSION = "opset3" ATTRIBUTE_FACTORY = ShapeOfV3Attribute def forward(self, inputs): diff --git a/otx/core/ov/ops/sorting_maximization.py b/otx/core/ov/ops/sorting_maximization.py index 3be42273681..0bbaf4055ce 100644 --- a/otx/core/ov/ops/sorting_maximization.py +++ b/otx/core/ov/ops/sorting_maximization.py @@ -64,7 +64,7 @@ class NonMaxSuppressionV5(Operation[NonMaxSuppressionV5Attribute]): """NonMaxSuppressionV5 class.""" TYPE = "NonMaxSuppression" - VERSION = "opset1" + VERSION = "opset5" ATTRIBUTE_FACTORY = NonMaxSuppressionV5Attribute def forward(