You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure that all callbacks return AnomalyModule instead of pl_module. Otherwise we have to use cast statements. Eg- compress.py uses pl_module = cast(AnomalyModule, pl_module) to placate mypy. This should be changed to ensure that we always pass AnomalyModule.
The text was updated successfully, but these errors were encountered:
Ensure that all callbacks return
AnomalyModule
instead ofpl_module
. Otherwise we have to usecast
statements. Eg-compress.py
usespl_module = cast(AnomalyModule, pl_module)
to placate mypy. This should be changed to ensure that we always passAnomalyModule
.The text was updated successfully, but these errors were encountered: