tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

def non_max_suppression_padded(boxes: tf.Tensor,
Severity: Minor
Found in official/vision/modeling/layers/edgetpu.py - About 35 mins to fix

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

      def test_network_creation(self, input_size, filter_size_scale, block_repeats,
    Severity: Minor
    Found in official/vision/modeling/backbones/spinenet_mobile_test.py - About 35 mins to fix

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

      def build_maskrcnn(input_specs: tf_keras.layers.InputSpec,
      Severity: Minor
      Found in official/vision/modeling/factory.py - About 35 mins to fix

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

        def block_spec_decoder(
        Severity: Minor
        Found in official/vision/modeling/backbones/mobilenet.py - About 35 mins to fix

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

          def build_backbone(input_specs: Union[tf_keras.layers.InputSpec,
          Severity: Minor
          Found in official/vision/modeling/backbones/factory.py - About 35 mins to fix

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

            def build_classification_model(
            Severity: Minor
            Found in official/vision/modeling/factory.py - About 35 mins to fix

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

                def _apply_attribute_net(
              Severity: Minor
              Found in official/vision/modeling/heads/dense_prediction_heads.py - About 35 mins to fix

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

                  def _decode_multilevel_outputs_and_pre_nms_top_k(
                Severity: Minor
                Found in official/vision/modeling/layers/detection_generator.py - About 35 mins to fix

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

                  def build_model(batch_size: Optional[int],
                  Severity: Minor
                  Found in official/vision/serving/export_tfhub_lib.py - About 35 mins to fix

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

                    def build_efficientnet(
                    Severity: Minor
                    Found in official/vision/modeling/backbones/efficientnet.py - About 35 mins to fix

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

                      def get_image_input_signatures(input_type: str,
                      Severity: Minor
                      Found in official/vision/serving/export_utils.py - About 35 mins to fix

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

                        def build_segmentation_model(
                        Severity: Minor
                        Found in official/vision/modeling/factory.py - About 35 mins to fix

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

                            def test_vision_transformer_creation(self, mlp_dim, num_heads, num_layers,
                          Severity: Minor
                          Found in official/vision/modeling/classification_model_test.py - About 35 mins to fix

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

                              def test_network_features(self, stem_type, se_ratio,
                            Severity: Minor
                            Found in official/vision/modeling/backbones/resnet_deeplab_test.py - About 35 mins to fix

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

                                def _compute_attention(
                              Severity: Minor
                              Found in official/vision/modeling/layers/nn_layers.py - About 35 mins to fix

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

                                def _non_max_suppression_as_is(boxes: tf.Tensor,
                                Severity: Minor
                                Found in official/vision/modeling/layers/edgetpu.py - About 35 mins to fix

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

                                    def _build_prediction_tower(
                                  Severity: Minor
                                  Found in official/vision/modeling/heads/dense_prediction_heads.py - About 35 mins to fix

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

                                      def test_network_creation_with_mobilenet(self, input_size, min_level,
                                    Severity: Minor
                                    Found in official/vision/modeling/decoders/fpn_test.py - About 35 mins to fix

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

                                        def test_add_encoded_image_feature_success(self, miss_image_format,
                                      Severity: Minor
                                      Found in official/vision/data/tf_example_builder_test.py - About 35 mins to fix

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

                                          def test_metric_computes_correct_loss(
                                        Severity: Minor
                                        Found in official/recommendation/uplift/metrics/poisson_metrics_test.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language