tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

def indices_to_dense_vector(indices,
Severity: Minor
Found in research/object_detection/utils/ops.py - About 35 mins to fix

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

      def add_single_detected_image_info(self,
    Severity: Minor
    Found in research/object_detection/utils/object_detection_evaluation.py - About 35 mins to fix

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

      def merge_boxes_with_multiple_labels(boxes,
      Severity: Minor
      Found in research/object_detection/utils/ops.py - About 35 mins to fix

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

        def cutout_only_bboxes(image, bboxes, prob, pad_size, replace):
        Severity: Minor
        Found in research/object_detection/utils/autoaugment_utils.py - About 35 mins to fix

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

          def _shear_bbox(bbox, image_height, image_width, level, shear_horizontal):
          Severity: Minor
          Found in research/object_detection/utils/autoaugment_utils.py - About 35 mins to fix

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

            def _apply_func_with_prob(func, image, args, prob, bboxes):
            Severity: Minor
            Found in research/object_detection/utils/autoaugment_utils.py - About 35 mins to fix

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

              def shear_x_only_bboxes(image, bboxes, prob, level, replace):
              Severity: Minor
              Found in research/object_detection/utils/autoaugment_utils.py - About 35 mins to fix

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

                  def __init__(self,
                Severity: Minor
                Found in research/object_detection/utils/object_detection_evaluation.py - About 35 mins to fix

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

                  def translate_x_only_bboxes(image, bboxes, prob, pixels, replace):
                  Severity: Minor
                  Found in research/object_detection/utils/autoaugment_utils.py - About 35 mins to fix

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

                    def shear_with_bboxes(image, bboxes, level, replace, shear_horizontal):
                    Severity: Minor
                    Found in research/object_detection/utils/autoaugment_utils.py - About 35 mins to fix

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

                      def nearest_neighbor_upsampling(input_tensor, scale=None, height_scale=None,
                      Severity: Minor
                      Found in research/object_detection/utils/ops.py - About 35 mins to fix

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

                        def translate_y_only_bboxes(image, bboxes, prob, pixels, replace):
                        Severity: Minor
                        Found in research/object_detection/utils/autoaugment_utils.py - About 35 mins to fix

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

                          def reframe_box_masks_to_image_masks(box_masks, boxes, image_height,
                          Severity: Minor
                          Found in research/object_detection/utils/ops.py - About 35 mins to fix

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

                            def draw_bounding_boxes_on_image(image,
                            Severity: Minor
                            Found in research/object_detection/utils/visualization_utils.py - About 35 mins to fix

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

                              def translate_bbox(image, bboxes, pixels, replace, shift_horizontal):
                              Severity: Minor
                              Found in research/object_detection/utils/autoaugment_utils.py - About 35 mins to fix

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

                                def draw_bounding_boxes_on_image_array(image,
                                Severity: Minor
                                Found in research/object_detection/utils/visualization_utils.py - About 35 mins to fix

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

                                  def draw_float_channel_on_image_array(image, channel, mask, alpha=0.9,
                                  Severity: Minor
                                  Found in research/object_detection/utils/visualization_utils.py - About 35 mins to fix

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

                                    def rotate_only_bboxes(image, bboxes, prob, degrees, replace):
                                    Severity: Minor
                                    Found in research/object_detection/utils/autoaugment_utils.py - About 35 mins to fix

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

                                      def multilevel_native_crop_and_resize(images, boxes, box_levels,
                                      Severity: Minor
                                      Found in research/object_detection/utils/spatial_transform_ops.py - About 35 mins to fix

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

                                        def _shift_bbox(bbox, image_height, image_width, pixels, shift_horizontal):
                                        Severity: Minor
                                        Found in research/object_detection/utils/autoaugment_utils.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language