tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

def _gaussian_weighted_map_const_multi(
Severity: Major
Found in research/object_detection/meta_architectures/center_net_meta_arch.py - About 50 mins to fix

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

    def relative_context_transition_fn(
    Severity: Major
    Found in research/efficient-hrl/context/context_transition_functions.py - About 50 mins to fix

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

        def _make_prediction_net_list(self, num_feature_outputs, num_out_channels,
      Severity: Major
      Found in research/object_detection/meta_architectures/center_net_meta_arch.py - About 50 mins to fix

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

        def _rnn_layer(inputs, rnn_cell, rnn_hidden_size, layer_id, is_batch_norm,
        Severity: Major
        Found in research/deep_speech/deep_speech_model.py - About 50 mins to fix

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

          def actor_net(states, action_spec,
          Severity: Major
          Found in research/efficient-hrl/agents/ddpg_networks.py - About 50 mins to fix

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

            def _conv_bn_layer(inputs, padding, filters, kernel_size, strides, layer_id,
            Severity: Major
            Found in research/deep_speech/deep_speech_model.py - About 50 mins to fix

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

              def q_too_small(agent,
              Severity: Major
              Found in research/efficient-hrl/cond_fn.py - About 50 mins to fix

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

                def make_prediction_net(num_out_channels, kernel_sizes=(3), num_filters=(256),
                Severity: Major
                Found in research/object_detection/meta_architectures/center_net_meta_arch.py - About 50 mins to fix

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

                  def populate_experiment(run_config,
                  Severity: Major
                  Found in research/object_detection/model_lib.py - About 50 mins to fix

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

                      def _predict_second_stage(self, rpn_box_encodings,
                    Severity: Major
                    Found in research/object_detection/meta_architectures/context_rcnn_meta_arch.py - About 50 mins to fix

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

                      def transform_images_and_boxes(images, boxes, tx, ty, sx, sy, flip):
                      Severity: Major
                      Found in research/object_detection/meta_architectures/deepmac_meta_arch.py - About 50 mins to fix

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

                          def _predict_second_stage(self, rpn_box_encodings,
                        Severity: Major
                        Found in research/object_detection/meta_architectures/faster_rcnn_meta_arch.py - About 50 mins to fix

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

                            def __init__(self, bottleneck_dimension, attention_temperature,
                          Severity: Major
                          Found in research/object_detection/meta_architectures/context_rcnn_lib_tf2.py - About 50 mins to fix

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

                            def resnet_v1_18(include_top=True,
                            Severity: Major
                            Found in research/object_detection/models/keras_models/resnet_v1.py - About 50 mins to fix

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

                                def __init__(self,
                              Severity: Major
                              Found in research/object_detection/models/keras_models/mobilenet_v2.py - About 50 mins to fix

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

                                def resnet_v1_34(include_top=True,
                                Severity: Major
                                Found in research/object_detection/models/keras_models/resnet_v1.py - About 50 mins to fix

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

                                    def _create_application_with_layer_outputs(
                                  Severity: Major
                                  Found in research/object_detection/models/keras_models/mobilenet_v1_tf2_test.py - About 50 mins to fix

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

                                    def mobilenet_v2_fpn(channel_means, channel_stds, bgr_ordering,

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

                                        def _check_returns_correct_shapes_with_dynamic_inputs(
                                      Severity: Major
                                      Found in research/object_detection/models/keras_models/mobilenet_v1_tf2_test.py - About 50 mins to fix

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

                                          def __init__(self,
                                        Severity: Major
                                        Found in research/object_detection/models/keras_models/inception_resnet_v2.py - About 50 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language