Add model EMA (Exponential Moving Average) #109
Annotations
6 errors
luxonis_train/callbacks/ema.py#L174
"state_dict_ema" is not a known attribute of "None" (reportOptionalMemberAccess)
|
luxonis_train/callbacks/ema.py#L186
Argument of type "Dict[str, Any] | None" cannot be assigned to parameter "state_dict" of type "Mapping[str, Any]" in function "load_state_dict"
Type "Dict[str, Any] | None" is not assignable to type "Mapping[str, Any]"
"None" is not assignable to "Mapping[str, Any]" (reportArgumentType)
|
luxonis_train/callbacks/ema.py#L198
"state_dict_ema" is not a known attribute of "None" (reportOptionalMemberAccess)
|
luxonis_train/callbacks/ema.py#L216
"state_dict_ema" is not a known attribute of "None" (reportOptionalMemberAccess)
|
luxonis_train/callbacks/ema.py#L224
"state_dict_ema" is not a known attribute of "None" (reportOptionalMemberAccess)
|
|
This job failed
Loading