tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

  def __init__(self,
Severity: Major
Found in research/object_detection/models/keras_models/mobilenet_v1.py - About 50 mins to fix

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

    def _mnasfpn_cell(feature_maps,

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

        def __init__(self,

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

          def _check_returns_correct_shapes_with_dynamic_inputs(
        Severity: Major
        Found in research/object_detection/models/keras_models/mobilenet_v2_tf2_test.py - About 50 mins to fix

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

          def fpn_top_down_feature_maps(image_features,
          Severity: Major
          Found in research/object_detection/models/feature_map_generators.py - About 50 mins to fix

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

            def _build_nasnet_base(hidden_previous,
            Severity: Major
            Found in research/object_detection/models/faster_rcnn_nas_feature_extractor.py - About 50 mins to fix

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

                def _create_application_with_layer_outputs(
              Severity: Major
              Found in research/object_detection/models/keras_models/mobilenet_v2_tf2_test.py - About 50 mins to fix

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

                  def __init__(self,

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

                    def _ibn_fused_grouped(self, net, num_filters, expansion_rates, kernel_size,
                  Severity: Major
                  Found in research/object_detection/models/ssd_spaghettinet_feature_extractor.py - About 50 mins to fix

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

                    def _coordinates_to_heatmap_dense(y_grid, x_grid, y_coordinates, x_coordinates,
                    Severity: Major
                    Found in research/object_detection/utils/target_assigner_utils.py - About 50 mins to fix

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

                      def _coordinates_to_heatmap_sparse(y_grid, x_grid, y_coordinates, x_coordinates,
                      Severity: Major
                      Found in research/object_detection/utils/target_assigner_utils.py - About 50 mins to fix

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

                          def __init__(self,
                        Severity: Major
                        Found in research/object_detection/models/ssd_spaghettinet_feature_extractor.py - About 50 mins to fix

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

                            def __init__(self,
                          Severity: Major
                          Found in research/object_detection/utils/visualization_utils.py - About 50 mins to fix

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

                              def _compute_cor_loc(self,
                            Severity: Major
                            Found in research/object_detection/utils/per_image_evaluation.py - About 50 mins to fix

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

                              def _apply_bbox_augmentation_wrapper(image, bbox, new_bboxes, prob,
                              Severity: Major
                              Found in research/object_detection/utils/autoaugment_utils.py - About 50 mins to fix

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

                                  def _compute_tp_fp_for_single_class(self,
                                Severity: Major
                                Found in research/object_detection/utils/per_image_evaluation.py - About 50 mins to fix

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

                                      def graph_fn(input_image, input_boxes, input_classes, input_is_crowd,
                                  Severity: Major
                                  Found in research/object_detection/utils/ops_test.py - About 50 mins to fix

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

                                      def __init__(self,
                                    Severity: Major
                                    Found in research/object_detection/utils/visualization_utils.py - About 50 mins to fix

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

                                        def mask_and_add_image(
                                      Severity: Major
                                      Found in research/object_detection/utils/autoaugment_utils.py - About 50 mins to fix

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

                                        def normalize_to_target(inputs,
                                        Severity: Major
                                        Found in research/object_detection/utils/ops.py - About 50 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language