tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

def resize_and_crop_boxes(boxes, image_scale, output_size, offset, box_history):
Severity: Minor
Found in official/projects/yolo/ops/preprocessing_ops.py - About 35 mins to fix

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

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

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

      def distribution_forward_path(strategy,
      Severity: Minor
      Found in official/projects/nhnet/models_test.py - About 35 mins to fix

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

          def make_low_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 random_uniform_strong has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          def random_uniform_strong(minval,
          Severity: Minor
          Found in official/projects/yolo/ops/preprocessing_ops.py - About 35 mins to fix

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

              def _patch(self, patches, ishape, num_rows, num_cols, mosaic_center):
            Severity: Minor
            Found in official/projects/yolo/ops/mosaic.py - About 35 mins to fix

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

                def _get_embeddings(self, word_ids: tf.Tensor, type_ids: tf.Tensor,
              Severity: Minor
              Found in official/projects/fffner/fffner_encoder.py - About 35 mins to fix

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

                  def get_decode_logits(self,
                Severity: Minor
                Found in official/projects/nhnet/models.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/centernet/modeling/heads/centernet_head.py - About 35 mins to fix

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

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

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

                      def _build_input_example(
                      Severity: Minor
                      Found in official/projects/centernet/modeling/layers/detection_generator_test.py - About 35 mins to fix

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

                          def make_hg_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 segment_nms has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                          def segment_nms(boxes, classes, confidence, k, iou_thresh):
                          Severity: Minor
                          Found in official/projects/centernet/ops/nms_ops.py - About 35 mins to fix

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

                              def _build_label(self,
                            Severity: Minor
                            Found in official/projects/centernet/dataloaders/centernet_input.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/projects/yolo/ops/loss_utils.py - About 35 mins to fix

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

                                def random_adjust_contrast(image,
                                Severity: Minor
                                Found in official/projects/centernet/ops/preprocess_ops.py - About 35 mins to fix

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

                                    def make_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 make_up_layer has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                      def make_up_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 boxes_candidates has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                      def boxes_candidates(clipped_boxes,
                                      Severity: Minor
                                      Found in official/projects/yolo/ops/preprocessing_ops.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/yolo/ops/loss_utils.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language