tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

def transform_and_clip_boxes(boxes,
Severity: Major
Found in official/projects/yolo/ops/preprocessing_ops.py - About 50 mins to fix

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

    def resize_to_range(image,
    Severity: Major
    Found in official/projects/centernet/ops/preprocess_ops.py - About 50 mins to fix

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

        def _get_anchor_free(self, key, boxes, classes, height, width, stride,
      Severity: Major
      Found in official/projects/yolo/ops/anchor.py - About 50 mins to fix

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

            def _loop_cond(unused_pred_box, unused_pred_class, boxes, unused_classes,
        Severity: Major
        Found in official/projects/yolo/ops/loss_utils.py - About 50 mins to fix

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

          def _darknet_boxes(encoded_boxes, width, height, anchor_grid, grid_points,
          Severity: Major
          Found in official/projects/yolo/ops/loss_utils.py - About 50 mins to fix

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

            def _darknet_new_coord_boxes(encoded_boxes, width, height, anchor_grid,
            Severity: Major
            Found in official/projects/yolo/ops/loss_utils.py - About 50 mins to fix

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

                def _update_patched_sample(
              Severity: Major
              Found in official/projects/yolo/ops/mosaic.py - About 50 mins to fix

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

                  def __call__(self,
                Severity: Major
                Found in official/projects/yolo/ops/kmeans_anchors.py - About 50 mins to fix

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

                    def __init__(
                  Severity: Major
                  Found in official/projects/edgetpu/nlp/modeling/pretrainer.py - About 50 mins to fix

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

                      def _build_label(self,
                    Severity: Major
                    Found in official/projects/yolo/dataloaders/yolo_input.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/projects/yolo/serving/export_module_factory.py - About 50 mins to fix

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

                          def test_parser(self, output_size, dtype, is_training, aug_name,

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

                            def _tiled_global_box_search(self,
                          Severity: Major
                          Found in official/projects/yolo/losses/yolo_loss.py - About 50 mins to fix

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

                            def _create_mock_attention_data(num_heads,
                            Severity: Major
                            Found in official/projects/roformer/roformer_attention_test.py - About 50 mins to fix

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

                              def random_square_crop_by_scale(
                              Severity: Major
                              Found in official/projects/videoglue/datasets/common/processors.py - About 50 mins to fix

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

                                  def call(self,  # pytype: disable=signature-mismatch  # overriding-parameter-count-checks
                                Severity: Major
                                Found in official/projects/roformer/roformer_attention.py - About 50 mins to fix

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

                                    def infer(
                                  Severity: Major
                                  Found in official/projects/pix2seq/modeling/pix2seq_model.py - About 50 mins to fix

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

                                    def add_context_features(
                                    Severity: Major
                                    Found in official/projects/videoglue/datasets/common/utils.py - About 50 mins to fix

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

                                      def resize_and_crop(
                                      Severity: Major
                                      Found in official/projects/videoglue/datasets/common/processors.py - About 50 mins to fix

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

                                        def add_vocab_token_emb(
                                        Severity: Major
                                        Found in official/projects/pix2seq/modeling/pix2seq_model.py - About 50 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language