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,
Severity: Minor
Found in official/vision/ops/anchor_generator.py - About 35 mins to fix

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

    def bilinear_resize_with_crop_and_pad(images: tf.Tensor,
    Severity: Minor
    Found in official/vision/ops/spatial_transform_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/legacy/image_classification/augment.py - About 35 mins to fix

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

          def test_crop_normalized_boxes(
        Severity: Minor
        Found in official/vision/ops/augment_test.py - About 35 mins to fix

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

          def _shear_bbox(bbox, image_height, image_width, level, shear_horizontal):
          Severity: Minor
          Found in official/vision/ops/augment.py - About 35 mins to fix

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

              def label_anchors(
            Severity: Minor
            Found in official/vision/ops/anchor.py - About 35 mins to fix

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

                def __init__(
              Severity: Minor
              Found in official/vision/ops/anchor.py - About 35 mins to fix

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

                def vgg16(num_classes,
                Severity: Minor
                Found in official/legacy/image_classification/vgg/vgg_model.py - About 35 mins to fix

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

                  def translate_bbox(image, bboxes, pixels, replace, shift_horizontal):
                  Severity: Minor
                  Found in official/vision/ops/augment.py - About 35 mins to fix

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

                    def translate(
                    Severity: Minor
                    Found in official/vision/ops/augment.py - About 35 mins to fix

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

                      def translate_y_only_bboxes(
                      Severity: Minor
                      Found in official/vision/ops/augment.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/vision/ops/augment.py - About 35 mins to fix

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

                          def create_squad_dataset(file_path,
                          Severity: Minor
                          Found in official/legacy/bert/input_pipeline.py - About 35 mins to fix

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

                            def export_bert_squad_tfhub(bert_config: configs.BertConfig,
                            Severity: Minor
                            Found in official/legacy/bert/export_tfhub.py - About 35 mins to fix

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

                              def squad_model(bert_config,
                              Severity: Minor
                              Found in official/legacy/bert/bert_models.py - About 35 mins to fix

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

                                def shear_with_bboxes(image, bboxes, level, replace, shear_horizontal):
                                Severity: Minor
                                Found in official/vision/ops/augment.py - About 35 mins to fix

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

                                  def _apply_func_with_prob(func: Any, image: tf.Tensor,
                                  Severity: Minor
                                  Found in official/vision/ops/augment.py - About 35 mins to fix

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

                                      def assign(self,
                                    Severity: Minor
                                    Found in official/vision/utils/object_detection/target_assigner.py - About 35 mins to fix

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

                                      def gather(boxlist, indices, fields=None, scope=None, use_static_shapes=False):
                                      Severity: Minor
                                      Found in official/vision/utils/object_detection/box_list_ops.py - About 35 mins to fix

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

                                          def test_result_shape(self, image_height, image_width, num_instances,
                                        Severity: Minor
                                        Found in official/vision/dataloaders/tf_example_decoder_test.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language