tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

  def sample_contexts(self, mode, batch_size, state=None, next_state=None,
Severity: Minor
Found in research/efficient-hrl/context/context.py - About 35 mins to fix

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

    def plain_rewards(states, actions, rewards, next_states, contexts):
    Severity: Minor
    Found in research/efficient-hrl/context/rewards_functions.py - About 35 mins to fix

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

        def _compute_object_detection_losses(self, input_height, input_width,
      Severity: Minor
      Found in research/object_detection/meta_architectures/center_net_meta_arch.py - About 35 mins to fix

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

          def actor_loss(self, states, actions, rewards, discounts,
        Severity: Minor
        Found in research/efficient-hrl/agent.py - About 35 mins to fix

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

            def _compute_keypoint_estimation_losses(self, task_name, input_height,
          Severity: Minor
          Found in research/object_detection/meta_architectures/center_net_meta_arch.py - About 35 mins to fix

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

            def generate_detection_image(detections,
            Severity: Minor
            Found in research/cognitive_planning/envs/active_vision_dataset_env.py - About 35 mins to fix

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

              def convert_audio_and_split_transcript(input_dir, source_name, target_name,
              Severity: Minor
              Found in research/deep_speech/data/download.py - About 35 mins to fix

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

                  def sample(self, states, next_states, num_samples, orig_goals, sc=0.5):
                Severity: Minor
                Found in research/efficient-hrl/agent.py - About 35 mins to fix

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

                    def actor_loss(self, states, actions, rewards, discounts,
                  Severity: Minor
                  Found in research/efficient-hrl/agent.py - About 35 mins to fix

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

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

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

                      def read_cached_data(should_load_images, dataset_root, segmentation_file_name,
                      Severity: Minor
                      Found in research/cognitive_planning/envs/active_vision_dataset_env.py - About 35 mins to fix

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

                          def _compute_kp_depth_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

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

                            def add_noise_fn(self, action_fn, stddev=1.0, debug=False,
                          Severity: Minor
                          Found in research/efficient-hrl/agent.py - About 35 mins to fix

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

                              def _compute_kp_regression_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

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

                                def __init__(self, minval=0, maxval=1, timestep=-1, *args, **kwargs):
                              Severity: Minor
                              Found in research/efficient-hrl/context/samplers.py - About 35 mins to fix

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

                                  def critic_loss(self, states, actions, rewards, discounts,
                                Severity: Minor
                                Found in research/efficient-hrl/agents/ddpg_agent.py - About 35 mins to fix

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

                                    def _compute_box_scale_and_offset_loss(self, input_height, input_width,
                                  Severity: Minor
                                  Found in research/object_detection/meta_architectures/center_net_meta_arch.py - About 35 mins to fix

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

                                      def _compute_object_center_loss(self, input_height, input_width,
                                    Severity: Minor
                                    Found in research/object_detection/meta_architectures/center_net_meta_arch.py - About 35 mins to fix

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

                                        def _aggregate_classification_loss(self, loss, gt, pred, method):
                                      Severity: Minor
                                      Found in research/object_detection/meta_architectures/deepmac_meta_arch.py - About 35 mins to fix

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

                                          def _box_prediction(self, rpn_features_to_crop, proposal_boxes_normalized,
                                        Severity: Minor
                                        Found in research/object_detection/meta_architectures/faster_rcnn_meta_arch.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language