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/projects/teams/teams_pretrainer.py - About 35 mins to fix

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

    def normalize_image_to_range(image: tf.Tensor,
    Severity: Minor
    Found in official/projects/unified_detector/utils/utilities.py - About 35 mins to fix

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

      def _parse_policy_info(name, prob, level, replace_value, augmentation_hparams):
      Severity: Minor
      Found in official/projects/unified_detector/data_loaders/autoaugment.py - About 35 mins to fix

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

        def merge_predictions(

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

            def __init__(self,
          Severity: Minor
          Found in official/projects/volumetric_models/evaluation/segmentation_metrics.py - About 35 mins to fix

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

              def _get_embeddings(
            Severity: Minor
            Found in official/projects/lra/transformer_encoder.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/lra/exponential_moving_average.py - About 35 mins to fix

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

                def reframe_box_masks_to_image_masks(

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

                    def test_basic_block_3d_volume_creation(self, spatial_size, volume_size,
                  Severity: Minor
                  Found in official/projects/volumetric_models/modeling/nn_blocks_3d_test.py - About 35 mins to fix

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

                    def predict(
                    Severity: Minor
                    Found in official/projects/lra/lra_dual_encoder_task.py - About 35 mins to fix

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

                        def _get_embeddings(
                      Severity: Minor
                      Found in official/projects/lra/linformer_encoder.py - About 35 mins to fix

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

                        def filter_masks(
                        Severity: Minor
                        Found in official/projects/waste_identification_ml/data_generation/utils.py - About 35 mins to fix

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

                          def universal_detection_loss_weights(
                          Severity: Minor
                          Found in official/projects/unified_detector/modeling/universal_detector.py - About 35 mins to fix

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

                              def _get_embeddings(
                            Severity: Minor
                            Found in official/projects/lra/mega_encoder.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/unified_detector/modeling/universal_detector.py - About 35 mins to fix

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

                                  def window_stitch_back(
                                Severity: Minor
                                Found in official/projects/maxvit/modeling/maxvit.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/qat/vision/n_bit/configs.py - About 35 mins to fix

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

                                      def test_invertedbottleneck_block_creation(
                                    Severity: Minor
                                    Found in official/projects/qat/vision/modeling/layers/nn_blocks_test.py - About 35 mins to fix

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

                                        def _pad_to_window_size(
                                      Severity: Minor
                                      Found in official/projects/longformer/longformer_encoder.py - About 35 mins to fix

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

                                          def test_bottleneck_block_creation(self, block_fn, strides, use_projection,
                                        Severity: Minor
                                        Found in official/projects/qat/vision/modeling/layers/nn_blocks_test.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language