Custom optimizer #182
Triggered via pull request
November 14, 2024 13:46
Status
Failure
Total duration
28m 52s
Artifacts
–
Annotations
10 errors
type-check:
luxonis_train/models/luxonis_lightning.py#L876
"loaders" is not a known attribute of "None" (reportOptionalMemberAccess)
|
type-check:
luxonis_train/models/luxonis_lightning.py#L879
Argument of type "Self@LuxonisLightningModule" cannot be assigned to parameter "params" of type "ParamsT" in function "__init__"
Type "Self@LuxonisLightningModule" is not assignable to type "ParamsT"
"LuxonisLightningModule*" is incompatible with protocol "Iterable[Tensor]"
"__iter__" is not present
"LuxonisLightningModule*" is incompatible with protocol "Iterable[Dict[str, Any]]"
"__iter__" is not present (reportArgumentType)
|
type-check:
luxonis_train/models/luxonis_lightning.py#L881
Cannot access attribute "create_optimizer" for class "Optimizer"
Attribute "create_optimizer" is unknown (reportAttributeAccessIssue)
|
type-check:
luxonis_train/models/luxonis_lightning.py#L887
Expected 3 positional arguments (reportCallIssue)
|
type-check:
luxonis_train/models/luxonis_lightning.py#L889
Cannot access attribute "create_scheduler" for class "LRScheduler"
Attribute "create_scheduler" is unknown (reportAttributeAccessIssue)
|
type-check:
luxonis_train/models/luxonis_lightning.py#L934
Cannot access attribute "update_learning_rate" for class "LRScheduler"
Attribute "update_learning_rate" is unknown (reportAttributeAccessIssue)
|
type-check:
luxonis_train/nodes/backbones/efficientrep/efficientrep.py#L139
Argument of type "float" cannot be assigned to parameter "value" of type "Tensor | Module" in function "__setattr__"
Type "float" is not assignable to type "Tensor | Module"
"float" is not assignable to "Tensor"
"float" is not assignable to "Module" (reportArgumentType)
|
type-check:
luxonis_train/nodes/backbones/efficientrep/efficientrep.py#L140
Argument of type "float" cannot be assigned to parameter "value" of type "Tensor | Module" in function "__setattr__"
Type "float" is not assignable to type "Tensor | Module"
"float" is not assignable to "Tensor"
"float" is not assignable to "Module" (reportArgumentType)
|
type-check:
luxonis_train/nodes/backbones/efficientrep/efficientrep.py#L142
Argument of type "Literal[True]" cannot be assigned to parameter "value" of type "Tensor | Module" in function "__setattr__"
Type "Literal[True]" is not assignable to type "Tensor | Module"
"Literal[True]" is not assignable to "Tensor"
"Literal[True]" is not assignable to "Module" (reportArgumentType)
|
type-check:
luxonis_train/nodes/blocks/blocks.py#L67
Argument of type "float" cannot be assigned to parameter "value" of type "Tensor | Module" in function "__setattr__"
Type "float" is not assignable to type "Tensor | Module"
"float" is not assignable to "Tensor"
"float" is not assignable to "Module" (reportArgumentType)
|