Skip to content

Trainers: add Instance Segmentation Task #10456

Trainers: add Instance Segmentation Task

Trainers: add Instance Segmentation Task #10456

Triggered via pull request January 27, 2025 19:59
Status Failure
Total duration 3m 34s
Artifacts

style.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 3 warnings
Ruff (D100): test_instancesegmentation.py#L1
test_instancesegmentation.py:1:1: D100 Missing docstring in public module
Ruff (I001): test_instancesegmentation.py#L1
test_instancesegmentation.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): test_instancesegmentation.py#L3
test_instancesegmentation.py:3:31: F401 `lightning.pytorch.LightningModule` imported but unused
Ruff (F401): test_instancesegmentation.py#L8
test_instancesegmentation.py:8:33: F401 `pycocotools.mask` imported but unused
Ruff (F401): test_instancesegmentation.py#L11
test_instancesegmentation.py:11:45: F401 `torchvision.transforms.functional` imported but unused
Ruff (F401): test_instancesegmentation.py#L12
test_instancesegmentation.py:12:17: F401 `PIL.Image` imported but unused
Ruff (F401): test_instancesegmentation.py#L12
test_instancesegmentation.py:12:24: F401 `PIL.ImageDraw` imported but unused
Ruff (F401): test_instancesegmentation.py#L12
test_instancesegmentation.py:12:35: F401 `PIL.ImageOps` imported but unused
Ruff (F401): test_instancesegmentation.py#L13
test_instancesegmentation.py:13:17: F401 `numpy` imported but unused
Ruff (ANN201): test_instancesegmentation.py#L18
test_instancesegmentation.py:18:5: ANN201 Missing return type annotation for public function `collate_fn`
mypy
Process completed with exit code 1.
prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ruff
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