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,

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

      def _random_sample_switch(self, log_alpha, u, layer, switch_layer, temperature=None):
    Severity: Minor
    Found in research/rebar/rebar.py - About 35 mins to fix

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

      def ArraysToDelfFeatures(locations,
      Severity: Minor
      Found in research/delf/delf/python/feature_io.py - About 35 mins to fix

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

        def SerializeToString(locations,
        Severity: Minor
        Found in research/delf/delf/python/feature_io.py - About 35 mins to fix

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

            def _ComputeRvlad(self,
          Severity: Minor
          Found in research/delf/delf/python/feature_aggregation_extractor.py - About 35 mins to fix

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

              def _random_sample_switch_v(self, log_alpha, u, layer, switch_layer, temperature=None):
            Severity: Minor
            Found in research/rebar/rebar.py - About 35 mins to fix

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

              def CalculateReceptiveBoxes(height, width, rf, stride, padding):
              Severity: Minor
              Found in research/delf/delf/python/feature_extractor.py - About 35 mins to fix

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

                def compute_metrics_and_print(dataset_name,
                Severity: Minor
                Found in research/delf/delf/python/training/global_features_utils.py - About 35 mins to fix

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

                  def CreateDataset(file_pattern,

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

                    def ReadPredictions(file_path, public_ids, private_ids, ignored_ids, task):

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

                        def __init__(self,
                      Severity: Minor
                      Found in research/delf/delf/python/pooling_layers/pooling.py - About 35 mins to fix

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

                          def _ProcessSingleScale(scale_index, boxes, features, scales, scores):
                        Severity: Minor
                        Found in research/delf/delf/python/training/model/export_model_utils.py - About 35 mins to fix

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

                            def __init__(self, kernel_size, filters, stage, block, data_format):
                          Severity: Minor
                          Found in research/delf/delf/python/training/model/resnet50.py - About 35 mins to fix

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

                              def __init__(self, architecture='ResNet101', pooling='gem',
                            Severity: Minor
                            Found in research/delf/delf/python/training/model/global_model.py - About 35 mins to fix

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

                              def _build_train_and_validation_splits(image_paths, file_ids, labels,
                              Severity: Minor
                              Found in research/delf/delf/python/training/build_image_dataset.py - About 35 mins to fix

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

                                def masked_ce_loss(logits, labels, mask, sparse=False, roll_direction=0):
                                Severity: Minor
                                Found in research/cvt_text/model/model_helpers.py - About 35 mins to fix

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

                                    def __init__(self, root, image_paths, imsize=None, bounding_boxes=None,
                                  Severity: Minor
                                  Found in research/delf/delf/python/datasets/generic_dataset.py - About 35 mins to fix

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

                                      def __init__(self, config, task_name, n_classes, inputs,
                                    Severity: Minor
                                    Found in research/cvt_text/task_specific/word_level/tagging_module.py - About 35 mins to fix

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

                                        def _AsmkSimilarity(self,
                                      Severity: Minor
                                      Found in research/delf/delf/python/feature_aggregation_similarity.py - About 35 mins to fix

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

                                        def _convert_to_example(file_id, image_buffer, height, width, label=None):
                                        Severity: Minor
                                        Found in research/delf/delf/python/training/build_image_dataset.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language