Skip to content

Commit a96853b

Browse files
committed
new converters
1 parent 8c1f1bd commit a96853b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

superannotate/input_converters/conversion.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
('Vector', 'vector_annotation')
5858
]
5959

60-
ALLOWED_CONVERSIONS_SAGEMAKER_TO_SA = [('Vector', 'object_detection')]
60+
# ALLOWED_CONVERSIONS_SAGEMAKER_TO_SA = [('Vector', 'object_detection')]
6161

6262
ALLOWED_CONVERSIONS_VGG_TO_SA = [
6363
('Vector', 'object_detection'), ('Vector', 'instance_segmentation'),
@@ -127,8 +127,8 @@ def _passes_converter_sanity(args, direction):
127127
return True
128128
elif args.dataset_format == 'VoTT' and converter_values in ALLOWED_CONVERSIONS_VOTT_TO_SA:
129129
return True
130-
elif args.dataset_format == 'SageMaker' and converter_values in ALLOWED_CONVERSIONS_SAGEMAKER_TO_SA:
131-
return True
130+
# elif args.dataset_format == 'SageMaker' and converter_values in ALLOWED_CONVERSIONS_SAGEMAKER_TO_SA:
131+
# return True
132132
elif args.dataset_format == 'VGG' and converter_values in ALLOWED_CONVERSIONS_VGG_TO_SA:
133133
return True
134134
elif args.dataset_format == 'GoogleCloud' and converter_values in ALLOWED_CONVERSIONS_GOOGLECLOUD_TO_SA:

superannotate/input_converters/converters/converters.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from .dataloop_converters.dataloop_strategies import DataLoopObjectDetectionStrategy
2020
from .supervisely_converters.supervisely_strategies import SuperviselyObjectDetectionStrategy
2121
from .vott_converters.vott_strategies import VoTTObjectDetectionStrategy
22-
from .sagemaker_converters.sagemaker_strategies import SageMakerObjectDetectionStrategy
22+
# from .sagemaker_converters.sagemaker_strategies import SageMakerObjectDetectionStrategy
2323
from .vgg_converters.vgg_strategies import VGGObjectDetectionStrategy
2424
from .googlecloud_converters.googlecloud_strategies import GoogleCloudObjectDetectionStrategy
2525

@@ -63,9 +63,9 @@ def _select_strategy(self, args):
6363
elif args.dataset_format == "VoTT":
6464
if args.task == 'object_detection' or args.task == 'instance_segmentation' or args.task == 'vector_annotation':
6565
c_strategy = VoTTObjectDetectionStrategy(args)
66-
elif args.dataset_format == "SageMaker":
67-
if args.task == 'object_detection' or args.task == 'instance_segmentation' or args.task == 'vector_annotation':
68-
c_strategy = SageMakerObjectDetectionStrategy(args)
66+
# elif args.dataset_format == "SageMaker":
67+
# if args.task == 'object_detection' or args.task == 'instance_segmentation' or args.task == 'vector_annotation':
68+
# c_strategy = SageMakerObjectDetectionStrategy(args)
6969
elif args.dataset_format == "VGG":
7070
if args.task == 'object_detection' or args.task == 'instance_segmentation' or args.task == 'vector_annotation':
7171
c_strategy = VGGObjectDetectionStrategy(args)

0 commit comments

Comments
 (0)