tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

def matmul_crop_and_resize(image, boxes, crop_size, extrapolation_value=0.0,
Severity: Minor
Found in research/object_detection/utils/spatial_transform_ops.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/per_image_evaluation.py - About 35 mins to fix

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

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

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

        def static_or_dynamic_map_fn(fn, elems, dtype=None,
        Severity: Minor
        Found in research/object_detection/utils/shape_utils.py - About 35 mins to fix

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

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

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

            def _check_bbox_area(min_y, min_x, max_y, max_x, delta=0.05):
            Severity: Minor
            Found in research/object_detection/utils/autoaugment_utils.py - About 35 mins to fix

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

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

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

                def _parse_policy_info(name, prob, level, replace_value, augmentation_hparams):
                Severity: Minor
                Found in research/object_detection/utils/autoaugment_utils.py - About 35 mins to fix

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

                    def compute_detection_tp_fp(self, detected_box_tuples, detected_scores,
                  Severity: Minor
                  Found in research/object_detection/utils/per_image_vrd_evaluation.py - About 35 mins to fix

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

                      def __init__(self, base_sizes, aspect_ratios, anchor_strides, anchor_offsets,

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

                        def __init__(self,

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

                        def _read_dataset_internal(file_read_func,
                        Severity: Minor
                        Found in research/object_detection/builders/dataset_builder.py - About 35 mins to fix

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

                            def _compute_tp_fp(self, detected_box_tuples, detected_scores,
                          Severity: Minor
                          Found in research/object_detection/utils/per_image_vrd_evaluation.py - About 35 mins to fix

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

                            def build(input_reader_config, batch_size=None, transform_input_data_fn=None,
                            Severity: Minor
                            Found in research/object_detection/builders/dataset_builder.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/anchor_generators/grid_anchor_generator.py - About 35 mins to fix

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

                                def build(argscope_fn, box_predictor_config, is_training, num_classes,
                                Severity: Minor
                                Found in research/object_detection/builders/box_predictor_builder.py - About 35 mins to fix

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

                                    def _process_batch(tensor_dict, sess, batch_index, counters,
                                  Severity: Minor
                                  Found in research/object_detection/legacy/evaluator.py - About 35 mins to fix

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

                                      def generate_and_write_records(self,
                                    Severity: Minor
                                    Found in research/object_detection/dataset_tools/create_ava_actions_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/heads/box_head.py - About 35 mins to fix

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

                                        def ExportGroundtruthToCOCO(image_ids,
                                        Severity: Minor
                                        Found in research/object_detection/metrics/coco_tools.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language