Trainers: add Instance Segmentation Task #10411
Annotations
10 errors and 1 warning
Run ruff checks:
tests/trainers/test_instancesegmentation.py#L1
tests/trainers/test_instancesegmentation.py:1:1: I001 Import block is un-sorted or un-formatted
|
Run ruff checks:
tests/trainers/test_instancesegmentation.py#L3
tests/trainers/test_instancesegmentation.py:3:31: F401 `pytorch_lightning.LightningModule` imported but unused
|
Run ruff checks:
tests/trainers/test_instancesegmentation.py#L6
tests/trainers/test_instancesegmentation.py:6:27: F401 `torchgeo.main.main` imported but unused
|
Run ruff checks:
tests/trainers/test_instancesegmentation.py#L12
tests/trainers/test_instancesegmentation.py:12:5: ANN201 Missing return type annotation for public function `collate_fn`
|
Run ruff checks:
tests/trainers/test_instancesegmentation.py#L12
tests/trainers/test_instancesegmentation.py:12:16: ANN001 Missing type annotation for function argument `batch`
|
Run ruff checks:
torchgeo/trainers/instance_segmentation.py#L6
torchgeo/trainers/instance_segmentation.py:6:1: I001 Import block is un-sorted or un-formatted
|
Run ruff checks:
torchgeo/trainers/instance_segmentation.py#L8
torchgeo/trainers/instance_segmentation.py:8:8: F401 `torch` imported but unused
|
Run ruff checks:
torchgeo/trainers/instance_segmentation.py#L20
torchgeo/trainers/instance_segmentation.py:20:29: F401 `pytorch_lightning` imported but unused
|
Run ruff checks:
torchgeo/trainers/instance_segmentation.py#L21
torchgeo/trainers/instance_segmentation.py:21:31: F401 `pytorch_lightning.LightningModule` imported but unused
|
Run ruff checks:
torchgeo/trainers/instance_segmentation.py#L22
torchgeo/trainers/instance_segmentation.py:22:30: F401 `torch.utils.data.DataLoader` imported but unused
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading