Custom optimizer #179
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#L988
Cannot access attribute "param_groups" for class "List[LightningOptimizer]"
Attribute "param_groups" 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)
|
Type check:
luxonis_train/nodes/blocks/blocks.py#L68
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/blocks/blocks.py#L70
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/heads/efficient_bbox_head.py#L112
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/heads/efficient_bbox_head.py#L113
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)
|
Loading