Skip to content

Commit

Permalink
Merge pull request #920 from openvinotoolkit/ad/remove_timeit
Browse files Browse the repository at this point in the history
Remove timeit decorator
  • Loading branch information
Ilya-Krylov authored Feb 17, 2022
2 parents 552fde2 + 1e297ec commit d99df37
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ote_sdk/ote_sdk/utils/segmentation_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
from ote_sdk.entities.scored_label import ScoredLabel
from ote_sdk.entities.shapes.polygon import Point, Polygon
from ote_sdk.utils.shape_factory import ShapeFactory
from ote_sdk.utils.time_utils import timeit


def mask_from_dataset_item(
Expand Down Expand Up @@ -178,7 +177,6 @@ def find_loops(points: ContourInternal) -> List[Sequence[int]]:
return subcontours


@timeit
def create_annotation_from_segmentation_map(
hard_prediction: np.ndarray, soft_prediction: np.ndarray, label_map: dict
) -> List[Annotation]:
Expand Down

0 comments on commit d99df37

Please sign in to comment.