tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

Avoid too many return statements within this function.
Open

      return (preprocessor.ssd_random_crop_fixed_aspect_ratio,
Severity: Major
Found in research/object_detection/builders/preprocessor_builder.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

          return image_resizer_fn
    Severity: Major
    Found in research/object_detection/builders/image_resizer_builder.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return slim.variance_scaling_initializer(
      Severity: Major
      Found in research/object_detection/builders/hyperparams_builder.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

              return initializer.keras_initializer_by_name
        Severity: Major
        Found in research/object_detection/builders/hyperparams_builder.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

              return None
          Severity: Major
          Found in research/object_detection/builders/hyperparams_builder.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return (preprocessor.ssd_random_crop_pad, {})
            Severity: Major
            Found in research/object_detection/builders/preprocessor_builder.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return (preprocessor.ssd_random_crop_pad_fixed_aspect_ratio, kwargs)
              Severity: Major
              Found in research/object_detection/builders/preprocessor_builder.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                          return tf.variance_scaling_initializer(
                Severity: Major
                Found in research/object_detection/builders/hyperparams_builder.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                        return (preprocessor.ssd_random_crop_pad,
                  Severity: Major
                  Found in research/object_detection/builders/preprocessor_builder.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                        return (preprocessor.ssd_random_crop_fixed_aspect_ratio, {})
                    Severity: Major
                    Found in research/object_detection/builders/preprocessor_builder.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                        return losses.WeightedSoftmaxClassificationLoss(
                      Severity: Major
                      Found in research/object_detection/builders/losses_builder.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return (preprocessor.random_crop_image,
                        Severity: Major
                        Found in research/object_detection/builders/preprocessor_builder.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return (preprocessor.resize_image,
                          Severity: Major
                          Found in research/object_detection/builders/preprocessor_builder.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                return preprocessor.random_square_crop_by_scale, {
                            Severity: Major
                            Found in research/object_detection/builders/preprocessor_builder.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return (preprocessor.random_pad_image,
                              Severity: Major
                              Found in research/object_detection/builders/preprocessor_builder.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return preprocessor.random_scale_crop_and_pad_to_square, {
                                Severity: Major
                                Found in research/object_detection/builders/preprocessor_builder.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      return losses.PenaltyReducedLogisticFocalLoss(
                                  Severity: Major
                                  Found in research/object_detection/builders/losses_builder.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return (preprocessor.drop_label_probabilistically, {
                                    Severity: Major
                                    Found in research/object_detection/builders/preprocessor_builder.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          return losses.BootstrappedSigmoidClassificationLoss(
                                      Severity: Major
                                      Found in research/object_detection/builders/losses_builder.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                          return functools.partial(grayscale_image_resizer)
                                        Severity: Major
                                        Found in research/object_detection/builders/image_resizer_builder.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language