tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

  def featurize_example(self, ex_index, example, label_list, max_seq_length,
Severity: Minor
Found in official/nlp/data/classifier_data_lib.py - About 35 mins to fix

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

      def __init__(self, annotation_file, include_mask, need_rescale_bboxes=True,
    Severity: Minor
    Found in official/legacy/detection/evaluation/coco_evaluator.py - About 35 mins to fix

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

      def train_sentencepiece(
      Severity: Minor
      Found in official/nlp/data/train_sentencepiece.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/nlp/data/sentence_prediction_dataloader.py - About 35 mins to fix

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

            def __init__(self, tokens, segment_ids, masked_lm_positions, masked_lm_labels,
          Severity: Minor
          Found in official/nlp/data/create_pretraining_data.py - About 35 mins to fix

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

            def convert_single_example(ex_index, example, label_list, max_seq_length,
            Severity: Minor
            Found in official/nlp/data/classifier_data_lib.py - About 35 mins to fix

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

              def single_level_feature_crop(features, level_boxes, detection_prior_levels,
              Severity: Minor
              Found in official/legacy/detection/ops/spatial_transform_ops.py - About 35 mins to fix

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

                  def call(self, boxes, scores, anchor_boxes, image_shape, is_training):
                Severity: Minor
                Found in official/legacy/detection/ops/roi_ops.py - About 35 mins to fix

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

                  def _improve_answer_span(doc_tokens, input_start, input_end, tokenizer,
                  Severity: Minor
                  Found in official/nlp/data/squad_lib.py - About 35 mins to fix

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

                    def preprocess_and_tokenize_input_files(
                    Severity: Minor
                    Found in official/nlp/data/create_xlnet_pretraining_data.py - About 35 mins to fix

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

                      def run_continuous_finetune(
                      Severity: Minor
                      Found in official/nlp/continuous_finetune_lib.py - About 35 mins to fix

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

                        def _generate_detections_batched(boxes, scores, max_total_size,
                        Severity: Minor
                        Found in official/legacy/detection/ops/postprocess_ops.py - About 35 mins to fix

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

                            def call(self,
                          Severity: Minor
                          Found in official/legacy/detection/ops/target_ops.py - About 35 mins to fix

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

                                  def call(self, inputs, val_boxes, val_classes, val_outer_boxes, training):
                            Severity: Minor
                            Found in official/legacy/detection/modeling/shapemask_model.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/legacy/detection/dataloader/anchor.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/legacy/detection/dataloader/input_reader.py - About 35 mins to fix

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

                                    def _create_replicated_step(self,
                                  Severity: Minor
                                  Found in official/legacy/detection/executor/detection_executor.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/legacy/xlnet/optimization.py - About 35 mins to fix

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

                                        def build_executor(self,
                                      Severity: Minor
                                      Found in official/legacy/detection/executor/distributed_executor.py - About 35 mins to fix

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

                                          def bottleneck_block(self,
                                        Severity: Minor
                                        Found in official/legacy/detection/modeling/architecture/resnet.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language