tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

def sample_sequence_around_keyframe(
Severity: Minor
Found in official/projects/videoglue/datasets/common/processors.py - About 35 mins to fix

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

      def call(
    Severity: Minor
    Found in official/projects/pix2seq/modeling/pix2seq_model.py - About 35 mins to fix

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

        def __init__(self, kernel_size, out_channels, stride=1, relu=True,
      Severity: Minor
      Found in official/projects/deepmac_maskrcnn/modeling/heads/hourglass_network.py - About 35 mins to fix

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

          def _pool2d(self, inputs, height, width, target_height, target_width):
        Severity: Minor
        Found in official/projects/edgetpu/vision/modeling/heads/bifpn_head.py - About 35 mins to fix

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

          def _make_repeated_residual_blocks(out_channels, num_blocks,
          Severity: Minor
          Found in official/projects/deepmac_maskrcnn/modeling/heads/hourglass_network.py - About 35 mins to fix

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

              def __init__(self, num_stages, channel_dims, blocks_per_stage,
            Severity: Minor
            Found in official/projects/deepmac_maskrcnn/modeling/heads/hourglass_network.py - About 35 mins to fix

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

                def __init__(self, out_channels, skip_conv=False, kernel_size=3, stride=1,
              Severity: Minor
              Found in official/projects/deepmac_maskrcnn/modeling/heads/hourglass_network.py - About 35 mins to fix

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

                  def _compute_constrastive_loss(
                Severity: Minor
                Found in official/projects/const_cl/losses/losses.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/detr/dataloaders/detr_input.py - About 35 mins to fix

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

                    def position_embedding_sine(
                    Severity: Minor
                    Found in official/projects/pix2seq/modeling/pix2seq_model.py - About 35 mins to fix

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

                      def export_inference_graph(
                      Severity: Minor
                      Found in official/projects/pointpillars/utils/model_exporter.py - About 35 mins to fix

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

                          def _block_group(self,
                        Severity: Minor
                        Found in official/projects/basnet/modeling/basnet_model.py - About 35 mins to fix

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

                            def test_network_creation(self, image_size, pillars_size, train_batch_size,
                          Severity: Minor
                          Found in official/projects/pointpillars/modeling/featurizers_test.py - About 35 mins to fix

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

                            def make_paragraph(
                            Severity: Minor
                            Found in official/projects/triviaqa/preprocess.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/triviaqa/modeling.py - About 35 mins to fix

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

                                def build_dbof(
                                Severity: Minor
                                Found in official/projects/yt8m/modeling/backbones/dbof.py - About 35 mins to fix

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

                                    def _build_pcollection(self, pipeline, files, web_dir, wiki_dir, answer):
                                  Severity: Minor
                                  Found in official/projects/triviaqa/dataset.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/yt8m/modeling/backbones/dbof.py - About 35 mins to fix

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

                                      def decode_answer(context, begin, end, token_offsets, end_limit):
                                      Severity: Minor
                                      Found in official/projects/triviaqa/prediction.py - About 35 mins to fix

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

                                        def build_pointpillars(
                                        Severity: Minor
                                        Found in official/projects/pointpillars/modeling/factory.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language