Skip to content

Instance Segmentation Head #248

Instance Segmentation Head

Instance Segmentation Head #248

Triggered via pull request December 11, 2024 08:58
Status Failure
Total duration 3m 34s
Artifacts

ci.yaml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
type-check: luxonis_train/attached_modules/losses/precision_dfl_detection_loss.py#L119
Argument of type "Tensor" cannot be assigned to parameter "arg1" of type "SupportsRichComparisonT@max" in function "max"   "Tensor" is not assignable to "int" (reportArgumentType)
type-check: luxonis_train/attached_modules/losses/precision_dlf_segmentation_loss.py#L67
Cannot access attribute "shape" for class "list[Tensor]"   Attribute "shape" is unknown (reportAttributeAccessIssue)
type-check: luxonis_train/attached_modules/losses/precision_dlf_segmentation_loss.py#L81
Cannot access attribute "permute" for class "list[Tensor]"   Attribute "permute" is unknown (reportAttributeAccessIssue)
type-check: luxonis_train/attached_modules/losses/precision_dlf_segmentation_loss.py#L104
Type "tuple[Tensor | Any | Unknown, Tensor, Tensor | Any | Unknown, Any, Any, Any, Any, Unknown, list[Tensor], Unknown | Tensor, Tensor]" is not assignable to return type "tuple[Tensor, Tensor, Tensor, Tensor, Tensor, Tensor]"   "tuple[Tensor | Any | Unknown, Tensor, Tensor | Any | Unknown, Any, Any, Any, Any, Unknown, list[Tensor], Unknown | Tensor, Tensor]" is not assignable to "tuple[Tensor, Tensor, Tensor, Tensor, Tensor, Tensor]"     Tuple size mismatch; expected 6 but received 11 (reportReturnType)
type-check: luxonis_train/attached_modules/losses/precision_dlf_segmentation_loss.py#L132
Argument of type "Tensor" cannot be assigned to parameter "arg1" of type "SupportsRichComparisonT@max" in function "max"   "Tensor" is not assignable to "int" (reportArgumentType)
type-check: luxonis_train/attached_modules/metrics/mean_average_precision.py#L32
Operator "in" not supported for types "Literal[TaskType.INSTANCE_SEGMENTATION]" and "list[TaskType] | dict[TaskType, str] | None"   Operator "in" not supported for types "Literal[TaskType.INSTANCE_SEGMENTATION]" and "None" (reportOperatorIssue)
type-check: luxonis_train/attached_modules/metrics/mean_average_precision.py#L41
Argument of type "tuple[Literal['bbox'], Literal['segm']] | Literal['bbox']" cannot be assigned to parameter "iou_type" of type "tuple[str] | Literal['bbox', 'segm']" in function "__init__" (reportArgumentType)
type-check: luxonis_train/attached_modules/metrics/mean_average_precision.py#L78
Object of type "None" is not subscriptable (reportOptionalSubscript)
type-check: luxonis_train/attached_modules/metrics/mean_average_precision.py#L94
Object of type "None" is not subscriptable (reportOptionalSubscript)
type-check: luxonis_train/attached_modules/visualizers/instance_segmentation_visualizer.py#L94
Object of type "None" is not subscriptable (reportOptionalSubscript)
pre-commit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
type-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636