tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

Avoid too many return statements within this function.
Open

      if add_and_check_final('Mixed_5b', net): return net, end_points
Severity: Major
Found in research/slim/nets/inception_resnet_v2.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            if add_and_check_final(block_scope, net): return net, end_points
    Severity: Major
    Found in research/slim/nets/inception_v4.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              if add_and_check_final(block_scope, net): return net, end_points
      Severity: Major
      Found in research/slim/nets/inception_v4.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return ResNetMaskNetwork(name, num_init_channels)
        Severity: Major
        Found in research/object_detection/meta_architectures/deepmac_meta_arch.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                return hourglass_network.hourglass_20_no_shortcut(num_init_channels)
          Severity: Major
          Found in research/object_detection/meta_architectures/deepmac_meta_arch.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                  return hourglass_network.hourglass_20_uniform_size(num_init_channels)
            Severity: Major
            Found in research/object_detection/meta_architectures/deepmac_meta_arch.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                    return hourglass_network.hourglass_100(num_init_channels,
              Severity: Major
              Found in research/object_detection/meta_architectures/deepmac_meta_arch.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return tf.keras.layers.Lambda(lambda x: x)
                Severity: Major
                Found in research/object_detection/meta_architectures/deepmac_meta_arch.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return config.pointly_supervised_keypoint_loss_weight
                  Severity: Major
                  Found in research/object_detection/meta_architectures/deepmac_meta_arch.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                        return FullyConnectedMaskHead(num_init_channels, mask_size)
                    Severity: Major
                    Found in research/object_detection/meta_architectures/deepmac_meta_arch.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return losses.WeightedGIOULocalizationLoss()
                      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 losses.WeightedDiceClassificationLoss(
                        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_jitter_boxes, 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 (preprocessor.random_absolute_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_crop_pad_image, 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 (preprocessor.ssd_random_crop, {})
                                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.remap_labels, {
                                  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_resize_method,
                                    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,
                                      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.autoaugment_image, {
                                        Severity: Major
                                        Found in research/object_detection/builders/preprocessor_builder.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language