Skip to content

Commit

Permalink
fix isort
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil26AT committed Oct 18, 2023
1 parent 6ca1b25 commit 9dabe88
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lightglue/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .aliked import ALIKED # noqa
from .disk import DISK # noqa
from .lightglue import LightGlue # noqa
from .superpoint import SuperPoint # noqa
from .aliked import ALIKED # noqa
from .utils import match_pair # noqa
2 changes: 1 addition & 1 deletion lightglue/aliked.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
# Xiaoming Zhao, Xingming Wu, Weihai Chen, Peter C.Y. Chen, Qingsong Xu, and Zhengguo Li
# Code from https://github.com/Shiaoming/ALIKED

from typing import Callable, Optional
from types import SimpleNamespace
from typing import Callable, Optional

import torch
import torch.nn.functional as F
Expand Down
3 changes: 2 additions & 1 deletion lightglue/sift.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
from types import SimpleNamespace

import cv2
import numpy as np
import pycolmap
import torch
import torch.nn as nn
from omegaconf import OmegaConf
from scipy.spatial import KDTree
from types import SimpleNamespace

from .utils import ImagePreprocessor

Expand Down
4 changes: 2 additions & 2 deletions lightglue/sift_kornia.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from types import SimpleNamespace

import kornia
import torch
import torch.nn as nn

from types import SimpleNamespace

from .utils import ImagePreprocessor


Expand Down

0 comments on commit 9dabe88

Please sign in to comment.