Skip to content

DDRNet for Semantic Segmentation #10

DDRNet for Semantic Segmentation

DDRNet for Semantic Segmentation #10

Triggered via pull request September 10, 2024 21:25
Status Failure
Total duration 3m 46s
Artifacts

ci.yaml

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

Annotations

10 errors
type-check: build/lib/luxonis_train/__main__.py#L183
Argument of type "str | None" cannot be assigned to parameter "distribution_name" of type "str" in function "version"   Type "str | None" is not assignable to type "str"     "None" is not assignable to "str" (reportArgumentType)
type-check: build/lib/luxonis_train/attached_modules/visualizers/utils.py#L64
Type "MatLike | NDArray[unsignedinteger[_8Bit]]" is not assignable to return type "NDArray[uint8]"   Type "MatLike | NDArray[unsignedinteger[_8Bit]]" is not assignable to type "NDArray[uint8]"     "ndarray[Any, dtype[integer[Any] | floating[Any]]]" is not assignable to "ndarray[Any, dtype[uint8]]"       Type parameter "_DType_co@ndarray" is covariant, but "dtype[integer[Any] | floating[Any]]" is not a subtype of "dtype[uint8]"         "dtype[integer[Any] | floating[Any]]" is not assignable to "dtype[uint8]"           Type parameter "_DTypeScalar_co@dtype" is covariant, but "integer[Any] | floating[Any]" is not a subtype of "uint8" (reportReturnType)
type-check: build/lib/luxonis_train/callbacks/metadata_logger.py#L60
No overloads for "join" match the provided arguments (reportCallIssue)
type-check: build/lib/luxonis_train/callbacks/metadata_logger.py#L60
Argument of type "str | None" cannot be assigned to parameter "a" of type "StrPath" in function "join" (reportArgumentType)
type-check: build/lib/luxonis_train/core/core.py#L184
Argument of type "Self@LuxonisModel" cannot be assigned to parameter "_core" of type "LuxonisModel | None" in function "__init__"   Type "Self@LuxonisModel" is not assignable to type "LuxonisModel | None"     "LuxonisModel*" is not assignable to "LuxonisModel"     "LuxonisModel*" is not assignable to "None" (reportArgumentType)
type-check: build/lib/luxonis_train/core/core.py#L457
Argument of type "Self@LuxonisModel" cannot be assigned to parameter "_core" of type "LuxonisModel | None" in function "__init__"   Type "Self@LuxonisModel" is not assignable to type "LuxonisModel | None"     "LuxonisModel*" is not assignable to "LuxonisModel"     "LuxonisModel*" is not assignable to "None" (reportArgumentType)
type-check: build/lib/luxonis_train/nodes/backbones/ddrnet/ddrnet.py#L29
Expression of type "None" cannot be assigned to parameter of type "Module"   "None" is not assignable to "Module" (reportArgumentType)
type-check: build/lib/luxonis_train/nodes/backbones/ddrnet/ddrnet.py#L38
Expression of type "None" cannot be assigned to parameter of type "list[int]"   "None" is not assignable to "list[int]" (reportArgumentType)
type-check: build/lib/luxonis_train/nodes/backbones/ddrnet/ddrnet.py#L39
Expression of type "None" cannot be assigned to parameter of type "list[int]"   "None" is not assignable to "list[int]" (reportArgumentType)
type-check: build/lib/luxonis_train/nodes/backbones/ddrnet/ddrnet.py#L42
Expression of type "None" cannot be assigned to parameter of type "list[int]"   "None" is not assignable to "list[int]" (reportArgumentType)