Skip to content

Commit

Permalink
Fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
GalyaZalesskaya committed Feb 2, 2024
1 parent 4520cd8 commit 180e18f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/unit/algo/hooks/test_xai_hooks.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import torch

from datumaro import Polygon
from torch import LongTensor
from torchvision import tv_tensors

from otx.algo.hooks.recording_forward_hook import (
ActivationMapHook,
DetClassProbabilityMapHook,
Expand All @@ -15,6 +11,8 @@
)
from otx.core.data.entity.base import ImageInfo
from otx.core.data.entity.instance_segmentation import InstanceSegBatchPredEntity
from torch import LongTensor
from torchvision import tv_tensors


def test_activationmap() -> None:
Expand Down

0 comments on commit 180e18f

Please sign in to comment.