tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

  def __init__(self,
Severity: Minor
Found in official/projects/mobilebert/distillation.py - About 35 mins to fix

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

      def __init__(self,
    Severity: Minor
    Found in official/projects/assemblenet/modeling/assemblenet.py - About 35 mins to fix

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

        def __init__(
      Severity: Minor
      Found in official/projects/maskconver/dataloaders/multiscale_maskconver_input.py - About 35 mins to fix

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

          def __init__(
        Severity: Minor
        Found in official/projects/maskconver/dataloaders/panoptic_maskrcnn_input.py - About 35 mins to fix

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

            def __init__(
          Severity: Minor
          Found in official/projects/maskconver/losses/maskconver_losses.py - About 35 mins to fix

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

              def call(self, inputs: tf.Tensor,
            Severity: Minor
            Found in official/projects/maskconver/modeling/multiscale_maskconver_model.py - About 35 mins to fix

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

                def get_top_k_peaks(self,

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

                  def __init__(self,
                Severity: Minor
                Found in official/projects/bigbird/recomputing_dropout.py - About 35 mins to fix

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

                    def build_losses(self,
                  Severity: Minor
                  Found in official/projects/maskconver/tasks/multiscale_maskconver.py - About 35 mins to fix

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

                    def multi_stream_heads(streams,
                    Severity: Minor
                    Found in official/projects/assemblenet/modeling/assemblenet.py - About 35 mins to fix

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

                      def random_uniform_strong(minval,
                      Severity: Minor
                      Found in official/projects/maskconver/modeling/layers/copypaste.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 official/projects/centernet/ops/preprocess_ops.py - About 35 mins to fix

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

                            def make_layer(self, k, inp_dim, out_dim, modules, **kwargs):
                          Severity: Minor
                          Found in official/projects/centernet/modeling/layers/cn_nn_blocks_test.py - About 35 mins to fix

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

                            def to_absolute_coordinates(boxlist,
                            Severity: Minor
                            Found in official/projects/centernet/ops/box_list_ops.py - About 35 mins to fix

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

                                def get_top_k_peaks(self,
                              Severity: Minor
                              Found in official/projects/centernet/modeling/layers/detection_generator.py - About 35 mins to fix

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

                                def export_bert_tfhub(bert_config, model_checkpoint_path, hub_destination,
                                Severity: Minor
                                Found in official/projects/mobilebert/export_tfhub.py - About 35 mins to fix

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

                                  def get_input_dataset(input_file_pattern,
                                  Severity: Minor
                                  Found in official/projects/nhnet/input_pipeline.py - About 35 mins to fix

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

                                    def position_embedding_sine(attention_mask,
                                    Severity: Minor
                                    Found in official/projects/mae/modeling/utils.py - About 35 mins to fix

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

                                        def make_hg_layer_revr(self, k, inp_dim, out_dim, modules, **kwargs):
                                      Severity: Minor
                                      Found in official/projects/centernet/modeling/layers/cn_nn_blocks_test.py - About 35 mins to fix

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

                                        def _augment_hsv_torch(image, rh, rs, rv, seed=None):
                                        Severity: Minor
                                        Found in official/projects/yolo/ops/preprocessing_ops.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language