tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

def cosine_classifier_logits(prelogits,
Severity: Major
Found in research/delf/delf/python/training/model/delg_model.py - About 50 mins to fix

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

    def extract_global_descriptors_from_list(net, images, image_size,
    Severity: Major
    Found in research/delf/delf/python/training/model/global_model.py - About 50 mins to fix

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

      def ExtractLocalFeatures(image, image_scales, max_feature_num, abs_thres, iou,
      Severity: Major
      Found in research/delf/delf/python/training/model/export_model_utils.py - About 50 mins to fix

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

        def ExtractGlobalFeatures(image,
        Severity: Major
        Found in research/delf/delf/python/training/model/export_model_utils.py - About 50 mins to fix

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

          def lite_bottleneck(inputs,
          Severity: Major
          Found in research/deeplab/core/resnet_v1_beta.py - About 50 mins to fix

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

            def multi_scale_logits(images,
            Severity: Major
            Found in research/deeplab/model.py - About 50 mins to fix

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

              def extract_features(images,
              Severity: Major
              Found in research/deeplab/model.py - About 50 mins to fix

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

                def _get_logits(images,
                Severity: Major
                Found in research/deeplab/model.py - About 50 mins to fix

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

                  def save_annotation(label,
                  Severity: Major
                  Found in research/deeplab/utils/save_annotation.py - About 50 mins to fix

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

                      def __call__(self, net, scope=None, filter_scaling=1, stride=1,
                    Severity: Major
                    Found in research/slim/nets/nasnet/nasnet_utils.py - About 50 mins to fix

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

                      def preprocess_image(image,
                      Severity: Major
                      Found in research/slim/preprocessing/vgg_preprocessing.py - About 50 mins to fix

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

                        def mobilenet_v2_arg_scope(is_training=True,
                        Severity: Major
                        Found in research/deeplab/core/feature_extractor.py - About 50 mins to fix

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

                          def preprocess_for_eval(image,
                          Severity: Major
                          Found in research/slim/preprocessing/inception_preprocessing.py - About 50 mins to fix

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

                            def _process_image_files(name, filenames, synsets, labels, humans,
                            Severity: Major
                            Found in research/slim/datasets/build_imagenet_data.py - About 50 mins to fix

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

                              def bottleneck(inputs, depth, depth_bottleneck, stride, rate=1,
                              Severity: Major
                              Found in research/slim/nets/resnet_v2.py - About 50 mins to fix

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

                                def mobilenet_edgetpu(net,
                                Severity: Major
                                Found in research/deeplab/core/feature_extractor.py - About 50 mins to fix

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

                                  def mobilenet_v3_small_seg(net,
                                  Severity: Major
                                  Found in research/deeplab/core/feature_extractor.py - About 50 mins to fix

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

                                    def get_batch_norm_params(decay=0.9997,
                                    Severity: Major
                                    Found in research/deeplab/core/utils.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 research/slim/preprocessing/inception_preprocessing.py - About 50 mins to fix

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

                                        def alexnet_v2(inputs,
                                        Severity: Major
                                        Found in research/slim/nets/alexnet.py - About 50 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language