official/projects/maskconver/tasks/multiscale_maskconver.py
Function build_losses
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def build_losses(self,
outputs: Mapping[str, Any],
labels: Mapping[str, Any],
iteration: Any,
aux_losses: Optional[Any] = None,
Function build_losses
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def build_losses(self,