tensorflow/models

View on GitHub
official/projects/maskconver/tasks/multiscale_maskconver.py

Summary

Maintainability
A
2 hrs
Test Coverage

Function build_losses has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def build_losses(self,
                   outputs: Mapping[str, Any],
                   labels: Mapping[str, Any],
                   iteration: Any,
                   aux_losses: Optional[Any] = None,
Severity: Minor
Found in official/projects/maskconver/tasks/multiscale_maskconver.py - About 1 hr to fix

    Function build_losses has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      def build_losses(self,
    Severity: Minor
    Found in official/projects/maskconver/tasks/multiscale_maskconver.py - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status