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,
Severity: Minor
Found in research/slim/preprocessing/vgg_preprocessing.py - About 35 mins to fix

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

    def _process_dataset(name, directory, num_shards, synset_to_human,
    Severity: Minor
    Found in research/slim/datasets/build_imagenet_data.py - About 35 mins to fix

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

        def __init__(self, num_conv_filters, drop_path_keep_prob, total_num_cells,
      Severity: Minor
      Found in research/slim/nets/nasnet/nasnet_utils.py - About 35 mins to fix

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

        def build_pnasnet_mobile(images,
        Severity: Minor
        Found in research/slim/nets/nasnet/pnasnet.py - About 35 mins to fix

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

            def __init__(self, num_conv_filters, drop_path_keep_prob, total_num_cells,
          Severity: Minor
          Found in research/slim/nets/nasnet/pnasnet.py - About 35 mins to fix

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

            def pix2pix_generator(net,
            Severity: Minor
            Found in research/slim/nets/pix2pix.py - About 35 mins to fix

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

              def _build_aux_head(net, end_points, num_classes, hparams, scope):
              Severity: Minor
              Found in research/slim/nets/nasnet/nasnet.py - About 35 mins to fix

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

                def _crop(image, offset_height, offset_width, crop_height, crop_width):
                Severity: Minor
                Found in research/slim/preprocessing/vgg_preprocessing.py - About 35 mins to fix

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

                  def get_dataset(name, split_name, dataset_dir, file_pattern=None, reader=None):
                  Severity: Minor
                  Found in research/slim/datasets/dataset_factory.py - About 35 mins to fix

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

                    def build_nasnet_cifar(images, num_classes,
                    Severity: Minor
                    Found in research/slim/nets/nasnet/nasnet.py - About 35 mins to fix

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

                        def _apply_conv_operation(self, net, operation,
                      Severity: Minor
                      Found in research/slim/nets/nasnet/nasnet_utils.py - About 35 mins to fix

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

                        def i3d_arg_scope(weight_decay=1e-7,
                        Severity: Minor
                        Found in research/slim/nets/i3d.py - About 35 mins to fix

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

                          def cyclegan_arg_scope(instance_norm_center=True,
                          Severity: Minor
                          Found in research/slim/nets/cyclegan.py - About 35 mins to fix

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

                            def mbv3_fused(ef, n, k, s=1, **kwargs):
                            Severity: Minor
                            Found in research/slim/nets/mobilenet/mobilenet_v3.py - About 35 mins to fix

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

                              def inception_v3_base(inputs,
                              Severity: Minor
                              Found in research/slim/nets/inception_v3.py - About 35 mins to fix

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

                                def depth_multiplier(output_params,
                                Severity: Minor
                                Found in research/slim/nets/mobilenet/mobilenet.py - About 35 mins to fix

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

                                  def training_scope(is_training=True,
                                  Severity: Minor
                                  Found in research/slim/nets/mobilenet/mobilenet.py - About 35 mins to fix

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

                                    def _crop(image, offset_height, offset_width, crop_height, crop_width):
                                    Severity: Minor
                                    Found in research/cognitive_planning/preprocessing/vgg_preprocessing.py - About 35 mins to fix

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

                                        def _residual(self,
                                      Severity: Minor
                                      Found in research/cognitive_planning/embedders.py - About 35 mins to fix

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

                                          def _bottleneck_residual(self,
                                        Severity: Minor
                                        Found in research/cognitive_planning/embedders.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language