Skip to content

Commit

Permalink
optimized imports
Browse files Browse the repository at this point in the history
  • Loading branch information
saltykox committed Mar 23, 2022
1 parent 4f55cae commit 94c496a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from collections import defaultdict

import pytest
from mmcv import Config
from detection_tasks.apis.detection.config_utils import (
cluster_anchors,
config_from_string,
Expand All @@ -23,7 +22,7 @@
set_hyperparams,
)
from detection_tasks.apis.detection.configuration import OTEDetectionConfig

from mmcv import Config
from ote_sdk.entities.datasets import DatasetEntity
from ote_sdk.entities.label import Domain, LabelEntity
from ote_sdk.test_suite.e2e_test_system import e2e_pytest_unit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
get_sizes_from_dataset_entity,
load_dataset_items_coco_format,
)

from ote_sdk.entities.datasets import DatasetEntity
from ote_sdk.entities.label import Domain, LabelEntity
from ote_sdk.test_suite.e2e_test_system import e2e_pytest_unit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import pytest
import torch.nn as nn
from mmcv.runner import EpochBasedRunner
from detection_tasks.extension.utils.hooks import (
CancelTrainingHook,
EarlyStoppingHook,
Expand All @@ -15,7 +14,7 @@
OTEProgressHook,
ReduceLROnPlateauLrUpdaterHook,
)

from mmcv.runner import EpochBasedRunner
from ote_sdk.test_suite.e2e_test_system import e2e_pytest_unit
from ote_sdk.tests.parameters_validation.validation_helper import (
check_value_error_exception_raised,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

import numpy as np
import pytest
from openvino.model_zoo.model_api.models import Model

from detection_tasks.apis.detection.configuration import OTEDetectionConfig
from detection_tasks.apis.detection.openvino_task import (
BaseInferencerWithConverter,
Expand All @@ -15,6 +13,7 @@
OpenVINORotatedRectInferencer,
OTEOpenVinoDataLoader,
)
from openvino.model_zoo.model_api.models import Model
from ote_sdk.configuration.configurable_parameters import ConfigurableParameters
from ote_sdk.entities.datasets import DatasetEntity
from ote_sdk.entities.label import Domain, LabelEntity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@
IterBasedRunnerWithCancel,
IterLoader,
)
from torch.utils.data.dataloader import DataLoader

from ote_sdk.test_suite.e2e_test_system import e2e_pytest_unit
from ote_sdk.tests.parameters_validation.validation_helper import (
check_value_error_exception_raised,
load_test_dataset
)
from torch.utils.data.dataloader import DataLoader


class TestRunnersInputParamsValidation:
Expand Down

0 comments on commit 94c496a

Please sign in to comment.