tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

def ExportSingleImageDetectionMasksToLVIS(image_id,
Severity: Minor
Found in research/object_detection/metrics/lvis_tools.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/predictors/heads/box_head.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/metrics/coco_evaluation.py - About 35 mins to fix

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

          def __init__(self, groundtruth=None, detections=None, agnostic_mode=False,
        Severity: Minor
        Found in research/object_detection/metrics/coco_tools.py - About 35 mins to fix

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

          def convert_kitti_to_tfrecords(data_dir, output_path, classes_to_use,
          Severity: Minor
          Found in research/object_detection/dataset_tools/create_kitti_tf_record.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/predictors/mask_rcnn_box_predictor.py - About 35 mins to fix

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

              def ExportSingleImageDetectionMasksToCoco(image_id,
              Severity: Minor
              Found in research/object_detection/metrics/coco_tools.py - About 35 mins to fix

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

                  def __init__(self, image_directory, images, annotations, categories,

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

                  def _apply_with_random_selector(x,
                  Severity: Minor
                  Found in research/object_detection/core/preprocessor.py - About 35 mins to fix

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

                      def assign(self,
                    Severity: Minor
                    Found in research/object_detection/core/target_assigner.py - About 35 mins to fix

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

                      def random_adjust_saturation(image,
                      Severity: Minor
                      Found in research/object_detection/core/preprocessor.py - About 35 mins to fix

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

                          def _concat_image(image, boxes, labels, label_weights, axis):
                        Severity: Minor
                        Found in research/object_detection/core/preprocessor.py - About 35 mins to fix

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

                          def infer_detections_and_add_to_example(
                          Severity: Minor
                          Found in research/object_detection/inference/detection_inference.py - About 35 mins to fix

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

                            def to_normalized_coordinates(dp_surface_coords, height, width,
                            Severity: Minor
                            Found in research/object_detection/core/densepose_ops.py - About 35 mins to fix

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

                              def batch_get_targets(batch_match, groundtruth_tensor_list,
                              Severity: Minor
                              Found in research/object_detection/core/target_assigner.py - About 35 mins to fix

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

                                  def assign_track_targets(self,
                                Severity: Minor
                                Found in research/object_detection/core/target_assigner.py - About 35 mins to fix

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

                                  def normalize_image(image, original_minval, original_maxval, target_minval,
                                  Severity: Minor
                                  Found in research/object_detection/core/preprocessor.py - About 35 mins to fix

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

                                      def assign_segmentation_targets(
                                    Severity: Minor
                                    Found in research/object_detection/core/target_assigner.py - About 35 mins to fix

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

                                      def to_absolute_coordinates(dp_surface_coords, height, width,
                                      Severity: Minor
                                      Found in research/object_detection/core/densepose_ops.py - About 35 mins to fix

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

                                        def _apply_with_random_selector_tuples(x,
                                        Severity: Minor
                                        Found in research/object_detection/core/preprocessor.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language