Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ariannasole23 authored Jan 21, 2025
1 parent b4334f0 commit a160baa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions torchgeo/trainers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
from .regression import PixelwiseRegressionTask, RegressionTask
from .segmentation import SemanticSegmentationTask
from .simclr import SimCLRTask
from .instance_segmentation import InstanceSegmentationTask

Check failure on line 15 in torchgeo/trainers/__init__.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (F401)

torchgeo/trainers/__init__.py:15:36: F401 `.instance_segmentation.InstanceSegmentationTask` imported but unused; consider removing, adding to `__all__`, or using a redundant alias

__all__ = (

Check failure on line 17 in torchgeo/trainers/__init__.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (I001)

torchgeo/trainers/__init__.py:6:1: I001 Import block is un-sorted or un-formatted
'BYOLTask',
'BaseTask',
'ClassificationTask',
'InstanceSegmentationTask'
'IOBenchTask',
'MoCoTask',
'MultiLabelClassificationTask',
Expand Down

0 comments on commit a160baa

Please sign in to comment.