Skip to content

Commit

Permalink
init temporal
Browse files Browse the repository at this point in the history
  • Loading branch information
yichiac committed Dec 18, 2024
1 parent 60ba6cb commit 4132229
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions torchgeo/transforms/temporal.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.

"""TorchGeo temporal transforms."""

from typing import Any

Check failure on line 6 in torchgeo/transforms/temporal.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (F401)

torchgeo/transforms/temporal.py:6:20: F401 `typing.Any` imported but unused

import kornia.augmentation as K

Check failure on line 8 in torchgeo/transforms/temporal.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (F401)

torchgeo/transforms/temporal.py:8:31: F401 `kornia.augmentation` imported but unused
import torch

Check failure on line 9 in torchgeo/transforms/temporal.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (F401)

torchgeo/transforms/temporal.py:9:8: F401 `torch` imported but unused
from einops import rearrange

Check failure on line 10 in torchgeo/transforms/temporal.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (F401)

torchgeo/transforms/temporal.py:10:20: F401 `einops.rearrange` imported but unused
from kornia.contrib import extract_tensor_patches

Check failure on line 11 in torchgeo/transforms/temporal.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (F401)

torchgeo/transforms/temporal.py:11:28: F401 `kornia.contrib.extract_tensor_patches` imported but unused
from kornia.geometry import crop_by_indices

Check failure on line 12 in torchgeo/transforms/temporal.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (F401)

torchgeo/transforms/temporal.py:12:29: F401 `kornia.geometry.crop_by_indices` imported but unused
from kornia.geometry.boxes import Boxes

Check failure on line 13 in torchgeo/transforms/temporal.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (F401)

torchgeo/transforms/temporal.py:13:35: F401 `kornia.geometry.boxes.Boxes` imported but unused
from torch import Tensor

Check failure on line 14 in torchgeo/transforms/temporal.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (F401)

torchgeo/transforms/temporal.py:14:19: F401 `torch.Tensor` imported but unused
from torch.nn.modules import Module

Check failure on line 15 in torchgeo/transforms/temporal.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (F401)

torchgeo/transforms/temporal.py:15:30: F401 `torch.nn.modules.Module` imported but unused

0 comments on commit 4132229

Please sign in to comment.