tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

def preprocess_for_eval(image, height, width,
Severity: Minor
Found in research/cognitive_planning/preprocessing/inception_preprocessing.py - About 35 mins to fix

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

    def draw_bounding_boxes_on_image(image,
    Severity: Minor
    Found in research/cognitive_planning/visualization_utils.py - About 35 mins to fix

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

      def block8(net, scale=1.0, activation_fn=tf.nn.relu, scope=None, reuse=None):
      Severity: Minor
      Found in research/slim/nets/inception_resnet_v2.py - About 35 mins to fix

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

        def draw_keypoints_on_image(image,
        Severity: Minor
        Found in research/cognitive_planning/visualization_utils.py - About 35 mins to fix

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

          def preprocess_for_train(image,
          Severity: Minor
          Found in research/cognitive_planning/preprocessing/cifarnet_preprocessing.py - About 35 mins to fix

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

            def block17(net, scale=1.0, activation_fn=tf.nn.relu, scope=None, reuse=None):
            Severity: Minor
            Found in research/slim/nets/inception_resnet_v2.py - About 35 mins to fix

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

              def _separable_conv(name, kernel, stride, filters, params):
              Severity: Minor
              Found in research/audioset/yamnet/yamnet.py - About 35 mins to fix

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

                def preprocess_for_train(image,
                Severity: Minor
                Found in research/cognitive_planning/preprocessing/vgg_preprocessing.py - About 35 mins to fix

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

                  def draw_bounding_boxes_on_image_array(image,
                  Severity: Minor
                  Found in research/cognitive_planning/visualization_utils.py - About 35 mins to fix

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

                    def preprocess_image(image, output_height, output_width, is_training=False,
                    Severity: Minor
                    Found in research/cognitive_planning/preprocessing/cifarnet_preprocessing.py - About 35 mins to fix

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

                      def draw_side_by_side_evaluation_image(eval_dict,
                      Severity: Minor
                      Found in research/cognitive_planning/visualization_utils.py - About 35 mins to fix

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

                        def stack_blocks_dense(net, blocks, output_stride=None,
                        Severity: Minor
                        Found in research/slim/nets/resnet_utils.py - About 35 mins to fix

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

                          def _optimize_clone(optimizer, clone, num_clones, regularization_losses,
                          Severity: Minor
                          Found in research/slim/deployment/model_deploy.py - About 35 mins to fix

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

                            def draw_keypoints_on_image_array(image,
                            Severity: Minor
                            Found in research/cognitive_planning/visualization_utils.py - About 35 mins to fix

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

                              def block35(net, scale=1.0, activation_fn=tf.nn.relu, scope=None, reuse=None):
                              Severity: Minor
                              Found in research/slim/nets/inception_resnet_v2.py - About 35 mins to fix

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

                                def spectrogram_to_mel_matrix(num_mel_bins=20,
                                Severity: Minor
                                Found in research/audioset/vggish/mel_features.py - About 35 mins to fix

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

                                  def _conv(name, kernel, stride, filters, params):
                                  Severity: Minor
                                  Found in research/audioset/yamnet/yamnet.py - About 35 mins to fix

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

                                      def __init__(self,
                                    Severity: Minor
                                    Found in research/efficient-hrl/context/samplers.py - About 35 mins to fix

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

                                      def convert_strided_predictions_to_normalized_keypoints(
                                      Severity: Minor
                                      Found in research/object_detection/meta_architectures/center_net_meta_arch.py - About 35 mins to fix

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

                                          def _compute_kp_offset_loss(self, input_height, input_width, task_name,
                                        Severity: Minor
                                        Found in research/object_detection/meta_architectures/center_net_meta_arch.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language