tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

  def _block_group(self,
Severity: Major
Found in official/vision/modeling/backbones/resnet.py - About 50 mins to fix

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

    def export_model_to_tfhub(batch_size: Optional[int],
    Severity: Major
    Found in official/vision/serving/export_tfhub_lib.py - About 50 mins to fix

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

        def _get_detection_module(
      Severity: Major
      Found in official/vision/serving/detection_test.py - About 50 mins to fix

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

        def instantiate_pipeline(dataset,
        Severity: Major
        Found in official/recommendation/data_preprocessing.py - About 50 mins to fix

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

          def minimize_using_explicit_allreduce(tape,
          Severity: Major
          Found in official/modeling/grad_utils.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/modeling/optimization/ema_optimizer.py - About 50 mins to fix

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

                def _build_controller(
              Severity: Major
              Found in official/core/train_lib.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/modeling/optimization/lr_schedule.py - About 50 mins to fix

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

                  def export(export_module: ExportModule,
                  Severity: Major
                  Found in official/core/export_base.py - About 50 mins to fix

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

                      def __init__(
                    Severity: Major
                    Found in official/modeling/fast_training/progressive/trainer.py - About 50 mins to fix

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

                      def run_experiment(distribution_strategy: tf.distribute.Strategy,
                      Severity: Major
                      Found in official/modeling/fast_training/progressive/train_lib.py - About 50 mins to fix

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

                        def fusion_with_peer_attention(inputs: List[tf.Tensor],
                        Severity: Major
                        Found in official/projects/assemblenet/modeling/assemblenet_plus.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/panoptic/modeling/panoptic_deeplab_model.py - About 50 mins to fix

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

                            def rgb_conv_stem(inputs,
                            Severity: Major
                            Found in official/projects/assemblenet/modeling/assemblenet.py - About 50 mins to fix

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

                                def _s3d_cell(
                              Severity: Major
                              Found in official/projects/s3d/modeling/s3d.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/assemblenet/modeling/assemblenet.py - About 50 mins to fix

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

                                  def _get_instances_from_heatmap_and_offset(
                                  Severity: Major
                                  Found in official/projects/panoptic/modeling/layers/panoptic_deeplab_merge.py - About 50 mins to fix

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

                                    def export_labse_model(bert_tfhub_module: Text, bert_config: configs.BertConfig,
                                    Severity: Major
                                    Found in official/projects/labse/export_tfhub.py - About 50 mins to fix

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

                                        def _get_anchor_id(self,
                                      Severity: Major
                                      Found in official/projects/yolo/ops/anchor.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/nhnet/raw_data_processor.py - About 50 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language