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__(
Severity: Minor
Found in official/recommendation/uplift/metrics/poisson_metrics.py - About 35 mins to fix

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

    def coco_annotations_to_lists(bbox_annotations, id_to_name_map,
    Severity: Minor
    Found in official/vision/data/create_coco_tf_record.py - About 35 mins to fix

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

      def _transform_csv(input_path, output_path, names, skip_first, separator=","):
      Severity: Minor
      Found in official/recommendation/movielens.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/modeling/multitask/base_trainer.py - About 35 mins to fix

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

            def build_optimizer(
          Severity: Minor
          Found in official/modeling/optimization/optimizer_factory.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/mosaic/modeling/mosaic_model.py - About 35 mins to fix

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

              def color_jitter_rand(image,
              Severity: Minor
              Found in official/projects/video_ssl/ops/video_ssl_preprocess_ops.py - About 35 mins to fix

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

                def _read_files_then_shard(matched_files: List[str],
                Severity: Minor
                Found in official/core/input_reader.py - About 35 mins to fix

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

                  def _build_mosaic_trainer(params: config_definitions.ExperimentConfig,
                  Severity: Minor
                  Found in official/projects/mosaic/train.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/modeling/optimization/lr_schedule.py - About 35 mins to fix

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

                      def color_jitter_nonrand(image,
                      Severity: Minor
                      Found in official/projects/video_ssl/ops/video_ssl_preprocess_ops.py - About 35 mins to fix

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

                        def divergence(p1, p2, f_grad_x, f_grad_y, name):
                        Severity: Minor
                        Found in official/projects/assemblenet/modeling/rep_flow_2d_layer.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/modeling/optimization/lr_schedule.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/modeling/optimization/lr_schedule.py - About 35 mins to fix

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

                              def sample_ssl_sequence(sequence: tf.Tensor,
                              Severity: Minor
                              Found in official/projects/video_ssl/ops/video_ssl_preprocess_ops.py - About 35 mins to fix

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

                                def build_mosaic_segmentation_model(
                                Severity: Minor
                                Found in official/projects/mosaic/modeling/mosaic_model.py - About 35 mins to fix

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

                                    def __init__(
                                  Severity: Minor
                                  Found in official/projects/panoptic/dataloaders/panoptic_maskrcnn_input.py - About 35 mins to fix

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

                                      def _generate_panoptic_masks(

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

                                      def stateless_dropout(x: tf.Tensor,
                                      Severity: Minor
                                      Found in official/projects/bigbird/stateless_dropout.py - About 35 mins to fix

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

                                          def call(self, inputs: tf.Tensor,
                                        Severity: Minor
                                        Found in official/projects/maskconver/modeling/maskconver_model.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language