Trainers: add Instance Segmentation Task #10468
Annotations
11 errors and 2 warnings
Ruff (D100):
test_trainer_instancesegmentation.py#L1
test_trainer_instancesegmentation.py:1:1: D100 Missing docstring in public module
|
Ruff (I001):
test_trainer_instancesegmentation.py#L1
test_trainer_instancesegmentation.py:1:1: I001 Import block is un-sorted or un-formatted
|
Ruff (ANN201):
test_trainer_instancesegmentation.py#L11
test_trainer_instancesegmentation.py:11:5: ANN201 Missing return type annotation for public function `collate_fn`
|
Ruff (ANN001):
test_trainer_instancesegmentation.py#L11
test_trainer_instancesegmentation.py:11:16: ANN001 Missing type annotation for function argument `batch`
|
Ruff (ANN201):
test_trainer_instancesegmentation.py#L35
test_trainer_instancesegmentation.py:35:5: ANN201 Missing return type annotation for public function `visualize_predictions`
|
Ruff (ANN001):
test_trainer_instancesegmentation.py#L35
test_trainer_instancesegmentation.py:35:27: ANN001 Missing type annotation for function argument `image`
|
Ruff (ANN001):
test_trainer_instancesegmentation.py#L35
test_trainer_instancesegmentation.py:35:34: ANN001 Missing type annotation for function argument `predictions`
|
Ruff (ANN001):
test_trainer_instancesegmentation.py#L35
test_trainer_instancesegmentation.py:35:47: ANN001 Missing type annotation for function argument `targets`
|
Ruff (ANN201):
test_trainer_instancesegmentation.py#L58
test_trainer_instancesegmentation.py:58:5: ANN201 Missing return type annotation for public function `plot_losses`
|
Ruff (ANN001):
test_trainer_instancesegmentation.py#L58
test_trainer_instancesegmentation.py:58:17: ANN001 Missing type annotation for function argument `train_losses`
|
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
|