From 0a2ec097121005ae3d111567243edec336f0cb76 Mon Sep 17 00:00:00 2001 From: Eugene Liu Date: Tue, 27 Aug 2024 11:23:39 +0100 Subject: [PATCH] update maskrcnn swimt model type to transformer --- src/otx/algo/instance_segmentation/maskrcnn.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/otx/algo/instance_segmentation/maskrcnn.py b/src/otx/algo/instance_segmentation/maskrcnn.py index 5e9610b794d..100b4b6f7b2 100644 --- a/src/otx/algo/instance_segmentation/maskrcnn.py +++ b/src/otx/algo/instance_segmentation/maskrcnn.py @@ -675,15 +675,4 @@ def _build_model(self, num_classes: int) -> TwoStageDetector: @property def _optimization_config(self) -> dict[str, Any]: """PTQ config for MaskRCNN-SwinT.""" - return { - "ignored_scope": { - "types": [ - "Add", - "MVN", - "Divide", - "Multiply", - ], - "validate": False, - }, - "preset": "mixed", - } + return {"model_type": "transformer"}