tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

def _visualize_boxes_and_keypoints(image, boxes, classes, scores, keypoints,
Severity: Major
Found in official/vision/utils/object_detection/visualization_utils.py - About 50 mins to fix

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

    def visualize_segmentation_outputs(
    Severity: Major
    Found in official/vision/utils/object_detection/visualization_utils.py - About 50 mins to fix

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

      def random_crop_resize(frames: tf.Tensor, output_h: int, output_w: int,
      Severity: Major
      Found in official/vision/ops/preprocess_ops_3d.py - About 50 mins to fix

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

          def __init__(
        Severity: Major
        Found in official/vision/evaluation/panoptic_quality.py - About 50 mins to fix

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

          def resize_to_range(image,
          Severity: Major
          Found in official/vision/utils/object_detection/preprocessor.py - About 50 mins to fix

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

            def _generate_detections_v2(
            Severity: Major
            Found in official/vision/modeling/layers/detection_generator.py - About 50 mins to fix

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

                def _call_box_outputs(
              Severity: Major
              Found in official/vision/modeling/maskrcnn_model.py - About 50 mins to fix

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

                def _sample_and_crop_foreground_masks(candidate_rois: tf.Tensor,
                Severity: Major
                Found in official/vision/modeling/layers/mask_sampler.py - About 50 mins to fix

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

                    def test_multi_query_attention_v2(
                  Severity: Major
                  Found in official/vision/modeling/layers/nn_blocks_test.py - About 50 mins to fix

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

                      def __call__(
                    Severity: Major
                    Found in official/vision/modeling/layers/detection_generator.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, temporal_kernel_size,
                      Severity: Major
                      Found in official/vision/modeling/layers/nn_blocks_3d_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 official/vision/losses/segmentation_losses.py - About 50 mins to fix

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

                            def test_multi_query_attention_v1(
                          Severity: Major
                          Found in official/vision/modeling/layers/nn_blocks_test.py - About 50 mins to fix

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

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

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

                                def __init__(
                              Severity: Major
                              Found in official/vision/modeling/backbones/resnet_unet.py - About 50 mins to fix

                                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_unet.py - About 50 mins to fix

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

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

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

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

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

                                      def build_retinanet(
                                      Severity: Major
                                      Found in official/vision/modeling/factory.py - About 50 mins to fix

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

                                          def test_network_creation(self, input_size, filter_size_scale, block_repeats,
                                        Severity: Major
                                        Found in official/vision/modeling/backbones/spinenet_test.py - About 50 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language