tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

Function _visualize_boxes_and_masks_and_keypoints has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

def _visualize_boxes_and_masks_and_keypoints(image, boxes, classes, scores,
Severity: Major
Found in official/vision/utils/object_detection/visualization_utils.py - About 1 hr to fix

    Function _generate_detections_per_image has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    def _generate_detections_per_image(
    Severity: Major
    Found in official/vision/modeling/layers/detection_generator.py - About 1 hr to fix

      Function _generate_detections_v1 has 8 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      def _generate_detections_v1(
      Severity: Major
      Found in official/vision/modeling/layers/detection_generator.py - About 1 hr to fix

        Function _call_mask_outputs has 8 arguments (exceeds 4 allowed). Consider refactoring.
        Open

          def _call_mask_outputs(
        Severity: Major
        Found in official/vision/modeling/maskrcnn_model.py - About 1 hr to fix

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

            def __init__(self,
          Severity: Major
          Found in official/vision/modeling/layers/roi_sampler.py - About 1 hr to fix

            Function test_universalinvertedbottleneck_block_creation has 8 arguments (exceeds 4 allowed). Consider refactoring.
            Open

              def test_universalinvertedbottleneck_block_creation(
            Severity: Major
            Found in official/vision/modeling/layers/nn_blocks_test.py - About 1 hr to fix

              Function convert_tflite_model has 8 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              def convert_tflite_model(
              Severity: Major
              Found in official/vision/serving/export_tflite_lib.py - About 1 hr to fix

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

                  def __init__(
                Severity: Major
                Found in official/vision/serving/export_base.py - About 1 hr to fix

                  Function testTrainThenEval has 8 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                    def testTrainThenEval(
                  Severity: Major
                  Found in official/recommendation/ranking/train_test.py - About 1 hr to fix

                    Function add_encoded_image_feature has 8 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                      def add_encoded_image_feature(
                    Severity: Major
                    Found in official/vision/data/tf_example_builder.py - About 1 hr to fix

                      Function test_metric_computes_sliced_losses has 8 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                        def test_metric_computes_sliced_losses(
                      Severity: Major
                      Found in official/recommendation/uplift/metrics/loss_metric_test.py - About 1 hr to fix

                        Function add_boxes_feature has 8 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                          def add_boxes_feature(
                        Severity: Major
                        Found in official/vision/data/tf_example_builder.py - About 1 hr to fix

                          Function testTrainEval has 8 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                            def testTrainEval(
                          Severity: Major
                          Found in official/recommendation/ranking/train_test.py - About 1 hr to fix

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

                              def __init__(self,
                            Severity: Major
                            Found in official/projects/assemblenet/modeling/assemblenet_plus.py - About 1 hr to fix

                              Function reshape_temporal_conv1d_bn has 8 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                              def reshape_temporal_conv1d_bn(inputs: tf.Tensor,
                              Severity: Major
                              Found in official/projects/assemblenet/modeling/assemblenet.py - About 1 hr to fix

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

                                  def call(self,
                                Severity: Major
                                Found in official/projects/panoptic/modeling/panoptic_maskrcnn_model.py - About 1 hr to fix

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

                                    def __init__(self, words_path, labels_path, tokenizer, is_train,
                                  Severity: Major
                                  Found in official/projects/fffner/utils/create_data.py - About 1 hr to fix

                                    Function process_to_input has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                      def process_to_input(self, input_ids, is_entity_token_pos,
                                    Severity: Major
                                    Found in official/projects/fffner/utils/create_data.py - About 1 hr to fix

                                      Function assign_centernet_targets has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                      def assign_centernet_targets(labels: Dict[str, tf.Tensor],
                                      Severity: Major
                                      Found in official/projects/centernet/ops/target_assigner.py - About 1 hr to fix

                                        Function continuous_eval has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                        def continuous_eval(strategy,
                                        Severity: Major
                                        Found in official/projects/nhnet/evaluation.py - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language