Trainers: add Instance Segmentation Task #10348
Annotations
11 errors and 3 warnings
Ruff (I001):
tests/trainers/test_instancesegmentation.py#L1
tests/trainers/test_instancesegmentation.py:1:1: I001 Import block is un-sorted or un-formatted
|
Ruff (F401):
tests/trainers/test_instancesegmentation.py#L3
tests/trainers/test_instancesegmentation.py:3:31: F401 `pytorch_lightning.LightningModule` imported but unused
|
Ruff (ANN201):
tests/trainers/test_instancesegmentation.py#L10
tests/trainers/test_instancesegmentation.py:10:5: ANN201 Missing return type annotation for public function `collate_fn`
|
Ruff (ANN001):
tests/trainers/test_instancesegmentation.py#L10
tests/trainers/test_instancesegmentation.py:10:16: ANN001 Missing type annotation for function argument `batch`
|
Ruff (D100):
torchgeo/trainers/instancesegmentation.py#L1
torchgeo/trainers/instancesegmentation.py:1:1: D100 Missing docstring in public module
|
Ruff (I001):
torchgeo/trainers/instancesegmentation.py#L1
torchgeo/trainers/instancesegmentation.py:1:1: I001 Import block is un-sorted or un-formatted
|
Ruff (F401):
torchgeo/trainers/instancesegmentation.py#L3
torchgeo/trainers/instancesegmentation.py:3:8: F401 `torch` imported but unused
|
Ruff (D212):
torchgeo/trainers/instancesegmentation.py#L11
torchgeo/trainers/instancesegmentation.py:11:5: D212 Multi-line docstring summary should start at the first line
|
Ruff (D212):
torchgeo/trainers/instancesegmentation.py#L31
torchgeo/trainers/instancesegmentation.py:31:9: D212 Multi-line docstring summary should start at the first line
|
Ruff (D212):
torchgeo/trainers/instancesegmentation.py#L46
torchgeo/trainers/instancesegmentation.py:46:9: D212 Multi-line docstring summary should start at the first line
|
mypy
Process completed with exit code 1.
|
ruff
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
mypy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|