Trainers: add Instance Segmentation Task #10467
Annotations
10 errors and 1 warning
Run ruff checks:
test_trainer_instancesegmentation.py#L1
test_trainer_instancesegmentation.py:1:1: D100 Missing docstring in public module
|
Run ruff checks:
test_trainer_instancesegmentation.py#L1
test_trainer_instancesegmentation.py:1:1: I001 Import block is un-sorted or un-formatted
|
Run ruff checks:
test_trainer_instancesegmentation.py#L11
test_trainer_instancesegmentation.py:11:5: ANN201 Missing return type annotation for public function `collate_fn`
|
Run ruff checks:
test_trainer_instancesegmentation.py#L11
test_trainer_instancesegmentation.py:11:16: ANN001 Missing type annotation for function argument `batch`
|
Run ruff checks:
test_trainer_instancesegmentation.py#L35
test_trainer_instancesegmentation.py:35:5: ANN201 Missing return type annotation for public function `visualize_predictions`
|
Run ruff checks:
test_trainer_instancesegmentation.py#L35
test_trainer_instancesegmentation.py:35:27: ANN001 Missing type annotation for function argument `image`
|
Run ruff checks:
test_trainer_instancesegmentation.py#L35
test_trainer_instancesegmentation.py:35:34: ANN001 Missing type annotation for function argument `predictions`
|
Run ruff checks:
test_trainer_instancesegmentation.py#L35
test_trainer_instancesegmentation.py:35:47: ANN001 Missing type annotation for function argument `targets`
|
Run ruff checks:
test_trainer_instancesegmentation.py#L58
test_trainer_instancesegmentation.py:58:5: ANN201 Missing return type annotation for public function `plot_losses`
|
Run ruff checks:
test_trainer_instancesegmentation.py#L58
test_trainer_instancesegmentation.py:58:17: ANN001 Missing type annotation for function argument `train_losses`
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading