Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
DubiousCactus committed Jun 4, 2024
1 parent 091a470 commit ac2f113
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion dataset/base/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import os.path as osp
from typing import Any, Dict, List, Tuple, Union

import torch
from hydra.utils import get_original_cwd
from torch import Tensor
from torch.utils.data import Dataset
Expand Down
1 change: 0 additions & 1 deletion dataset/base/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import abc
from typing import Any, Callable, Dict, List, Optional, Tuple, Union

import torch
from torch import Tensor
from torchvision.io.image import read_image # type: ignore
from torchvision.transforms import transforms # type: ignore
Expand Down
1 change: 0 additions & 1 deletion src/base_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from collections import defaultdict
from typing import Any, Dict, List, Optional, Tuple, TypeVar, Union

import torch
from torch import Tensor
from torch.nn import Module
from torch.utils.data import DataLoader
Expand Down
1 change: 0 additions & 1 deletion utils/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

from typing import List, Tuple, Union

import torch
from torch import Tensor, nn

import conf.project as project_conf
Expand Down

0 comments on commit ac2f113

Please sign in to comment.