tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

def load_fine_tune_checkpoint(model, checkpoint_path, checkpoint_type,
Severity: Major
Found in research/object_detection/model_lib_v2.py - About 50 mins to fix

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

      def __init__(self, batch_size, z_size, name, mean_init=0.0,
    Severity: Major
    Found in research/lfads/distributions.py - About 50 mins to fix

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

        def __init__(self, num_units, forget_bias=1.0,
      Severity: Major
      Found in research/lfads/lfads.py - About 50 mins to fix

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

        def generate_data(rnn, T, E, x0s=None, P_sxn=None, input_magnitude=0.0,
        Severity: Major
        Found in research/lfads/synth_data/synthetic_data_utils.py - About 50 mins to fix

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

          def _insert_fixed_quant_op(context,
          Severity: Major
          Found in research/lstm_object_detection/builders/graph_rewriter_builder.py - About 50 mins to fix

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

              def call(self,
            Severity: Major
            Found in research/seq_flow_lite/models/transformer_uniform_attn_decoder.py - About 50 mins to fix

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

              def bottleneck_layer(x, n, stride, prob, is_training, alpha, beta):
              Severity: Major
              Found in research/autoaugment/shake_drop.py - About 50 mins to fix

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

                def quantize_op(inputs,
                Severity: Major
                Found in research/lstm_object_detection/lstm/utils.py - About 50 mins to fix

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

                  def evaluate(create_input_dict_fn,
                  Severity: Major
                  Found in research/lstm_object_detection/evaluator.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/seq_flow_lite/layers/transformer_layers.py - About 50 mins to fix

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

                      def distorted_bounding_box_crop(image,
                      Severity: Major
                      Found in research/attention_ocr/python/inception_preprocessing.py - About 50 mins to fix

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

                        def create_optimizer(init_lr,
                        Severity: Major
                        Found in official/nlp/optimization.py - About 50 mins to fix

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

                            def call(self, inputs, mask, inverse_normalizer, memory, memory_mask,
                          Severity: Major
                          Found in research/seq_flow_lite/layers/transformer_layers.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/seq_flow_lite/layers/transformer_layers.py - About 50 mins to fix

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

                                def call(self,
                              Severity: Major
                              Found in research/seq_flow_lite/layers/transformer_layers.py - About 50 mins to fix

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

                                  def call(self, inputs, mask, inverse_normalizer, memory, memory_mask,
                                Severity: Major
                                Found in research/seq_flow_lite/layers/transformer_layers.py - About 50 mins to fix

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

                                    def _do_export(self,
                                  Severity: Major
                                  Found in official/nlp/tools/export_tfhub_lib_test.py - About 50 mins to fix

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

                                      def call(self,
                                    Severity: Major
                                    Found in research/seq_flow_lite/layers/transformer_layers.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/seq_flow_lite/layers/qrnn_layers.py - About 50 mins to fix

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

                                          def __init__(self,
                                        Severity: Major
                                        Found in official/nlp/modeling/models/t5.py - About 50 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language