tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

  def test_bottleneck_block_creation(self, block_fn, temporal_kernel_size,
Severity: Major
Found in official/projects/const_cl/modeling/backbones/nn_blocks_3d_test.py - About 50 mins to fix

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

    def add_trainer(
    Severity: Major
    Found in official/projects/yt8m/configs/yt8m.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/simclr/modeling/simclr_model.py - About 50 mins to fix

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

          def process_metrics(
        Severity: Major
        Found in official/projects/yt8m/tasks/yt8m_task.py - About 50 mins to fix

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

          def distorted_bounding_box_crop(image,
          Severity: Major
          Found in official/projects/simclr/dataloaders/preprocess_ops.py - About 50 mins to fix

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

            def predict(sp_processor, features_map_fn, logits_fn, decode_logits_fn,
            Severity: Major
            Found in official/projects/triviaqa/predict.py - About 50 mins to fix

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

              def read_batches(data_dir,
              Severity: Major
              Found in official/projects/triviaqa/inputs.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/perceiver/modeling/models/pretrainer.py - About 50 mins to fix

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

                  def _paragraph_grouping_loss(
                  Severity: Major
                  Found in official/projects/unified_detector/modeling/universal_detector.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/movinet/modeling/movinet_layers.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/volumetric_models/dataloaders/segmentation_input_3d.py - About 50 mins to fix

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

                        def random_erase(image,
                        Severity: Major
                        Found in official/projects/unified_detector/data_loaders/autoaugment.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/maxvit/modeling/layers.py - About 50 mins to fix

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

                            def distort_image_with_randaugment(image,
                            Severity: Major
                            Found in official/projects/unified_detector/data_loaders/autoaugment.py - About 50 mins to fix

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

                              def export_saved_model(
                              Severity: Major
                              Found in official/projects/movinet/tools/export_saved_model.py - About 50 mins to fix

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

                                def _get_decoder_head(
                                Severity: Major
                                Found in official/projects/unified_detector/modeling/universal_detector.py - About 50 mins to fix

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

                                  def _create_mock_attention_data(num_heads,
                                  Severity: Major
                                  Found in official/projects/longformer/longformer_attention_test.py - About 50 mins to fix

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

                                      def test_bottleneck_block_creation(self, block_fn, strides, use_projection,
                                    Severity: Major
                                    Found in official/projects/qat/vision/n_bit/nn_blocks_test.py - About 50 mins to fix

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

                                        def __init__(self,
                                      Severity: Major
                                      Found in orbit/examples/single_task/single_task_trainer.py - About 50 mins to fix

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

                                          def test_invertedbottleneck_block_creation(
                                        Severity: Major
                                        Found in official/projects/qat/vision/n_bit/nn_blocks_test.py - About 50 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language