tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

def _fused_conv(
Severity: Major
Found in research/object_detection/models/ssd_mobiledet_feature_extractor.py - About 1 hr to fix

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

      def _create_application_with_layer_outputs(

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

        def __init__(self,
      Severity: Major
      Found in research/object_detection/models/keras_models/resnet_v1.py - About 1 hr to fix

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

          def __init__(self,

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

          def inception_resnet_v2(

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

            def _inverted_bottleneck(
            Severity: Major
            Found in research/object_detection/models/ssd_mobiledet_feature_extractor.py - About 1 hr to fix

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

              def mobilenet_v2(batchnorm_training,
              Severity: Major
              Found in research/object_detection/models/keras_models/mobilenet_v2.py - About 1 hr to fix

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

                def mobilenet_v1(batchnorm_training,
                Severity: Major
                Found in research/object_detection/models/keras_models/mobilenet_v1.py - About 1 hr to fix

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

                    def __init__(self, num_stages, input_channel_dims, channel_dims_per_stage,
                  Severity: Major
                  Found in research/object_detection/models/keras_models/hourglass_network.py - About 1 hr to fix

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

                      def __init__(self,
                    Severity: Major
                    Found in research/object_detection/models/feature_map_generators.py - About 1 hr to fix

                      Consider simplifying this complex logical expression.
                      Open

                          if self._use_atrous and (
                              (name and 'block17' in name) or
                              (filters == 128 or filters == 160 or
                               (filters == 192 and kwargs.get('padding', '').lower() != 'valid'))):
                            kwargs['dilation_rate'] = 2

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

                        def coordinates_to_heatmap(y_grid,
                        Severity: Major
                        Found in research/object_detection/utils/target_assigner_utils.py - About 1 hr to fix

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

                          def exponential_decay_with_warmup(global_step,
                          Severity: Major
                          Found in research/object_detection/utils/learning_schedules.py - About 1 hr to fix

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

                              def _quantizable_concat(self,

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

                              def exponential_decay_with_burnin(global_step,
                              Severity: Major
                              Found in research/object_detection/utils/learning_schedules.py - About 1 hr to fix

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

                                def create_resample_feature_map_ops(input_scale_factor, output_scale_factor,
                                Severity: Major
                                Found in research/object_detection/utils/bifpn_utils.py - About 1 hr to fix

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

                                    def _get_ith_class_arrays(self, detected_boxes, detected_scores,
                                  Severity: Major
                                  Found in research/object_detection/utils/per_image_evaluation.py - About 1 hr to fix

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

                                        def graph_fn(input_image, input_boxes, input_classes, input_is_crowd,
                                    Severity: Major
                                    Found in research/object_detection/utils/ops_test.py - About 1 hr to fix

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

                                      def build_keras(hyperparams_fn, freeze_batchnorm, inplace_batchnorm_update,
                                      Severity: Major
                                      Found in research/object_detection/builders/box_predictor_builder.py - About 1 hr to fix

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

                                        def evaluate(create_input_dict_fn, create_model_fn, eval_config, categories,
                                        Severity: Major
                                        Found in research/object_detection/legacy/evaluator.py - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language