tensorflow/models

View on GitHub
official/vision/modeling/layers/mask_sampler.py

Summary

Maintainability
A
1 hr
Test Coverage

Function _sample_and_crop_foreground_masks has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

def _sample_and_crop_foreground_masks(candidate_rois: tf.Tensor,
Severity: Major
Found in official/vision/modeling/layers/mask_sampler.py - About 50 mins to fix

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

      def call(self, candidate_rois: tf.Tensor, candidate_gt_boxes: tf.Tensor,
    Severity: Minor
    Found in official/vision/modeling/layers/mask_sampler.py - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status