Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 15, 2024
1 parent 1dfaf1a commit d8a370e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion kornia/config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from enum import Enum
from dataclasses import dataclass, field
from enum import Enum

__all__ = ["config", "InstallationMode"]

Expand Down
2 changes: 1 addition & 1 deletion kornia/core/external.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from types import ModuleType
from typing import List, Optional

from kornia.config import kornia_config, InstallationMode
from kornia.config import InstallationMode, kornia_config

logger = logging.getLogger(__name__)

Expand Down
1 change: 0 additions & 1 deletion kornia/models/edge_detection/dexined.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@


class DexiNedBuilder:

@staticmethod
def build(pretrained: bool = True, image_size: Optional[int] = 352) -> EdgeDetector:
model = DexiNed(pretrained=pretrained)
Expand Down
2 changes: 1 addition & 1 deletion kornia/onnx/sequential.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from typing import List, Optional, Tuple, Union

from kornia.config import kornia_config
from kornia.core.external import numpy as np
from kornia.core.external import onnx
from kornia.core.external import onnxruntime as ort
from kornia.config import kornia_config

from .utils import ONNXLoader

Expand Down
3 changes: 2 additions & 1 deletion kornia/onnx/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

import requests

from kornia.core.external import onnx
from kornia.config import kornia_config
from kornia.core.external import onnx

__all__ = ["ONNXLoader"]

logger = logging.getLogger(__name__)
Expand Down

0 comments on commit d8a370e

Please sign in to comment.