1. 08 Jul, 2020 2 commits
    • kmindspark's avatar
      TF2 eager object detection colab · c96e5d5b
      kmindspark authored
      c96e5d5b
    • vivek rathod's avatar
      Merged commit includes the following changes: (#8803) · 52bb4ab1
      vivek rathod authored
      
      
      320117767  by ronnyvotel:
      
          DensePose postprocessing implementation.
      
      --
      320065853  by ronnyvotel:
      
          Updating how masks are reframed, so that it works on float and uint8 masks.
      
      --
      320061717  by yuhuic:
      
          Updated CenterNet restore_from_objects to allow the model to load the
          checkpoints saved during training.
      
      --
      319835172  by ronnyvotel:
      
          Updating how the DensePose UV Symmetries MAT file path is constructed and loaded.
      
      --
      319834678  by ronnyvotel:
      
          First update to CenterNetMetaArch for DensePose. Adding prediction and loss functionality.
      
      --
      319810261  by rathodv:
      
          Create a setup.py file to simplify installation.
      
          Usage:
          "python object_detection/packages/tf1/setup.py install" for TF1.
          "python object_detection/packages/tf2/setup.py install" for TF2.
      
          or to create source distribution
          "python object_detection/packages/tf1/setup.py sdist" for TF1.
          "python object_detection/packages/tf2/setup.py sdist" for TF2.
      
      --
      319803041  by sbeery:
      
          Updating documentation for export
      
      --
      319688087  by rathodv:
      
          Update as_matrix() to to_numpy() to avoid failures with python3.6
      
      --
      319686183  by vighneshb:
      
          Require tpu_name when use_tpu is set.
      
      --
      319613327  by aom:
      
          EfficientDet-style Data Augmentation.
      
      --
      319572180  by rathodv:
      
          Add TF2 SSD FPN (a.k.a RetinaNet) configs.
      
      --
      319553823  by rathodv:
      
          Internal Change.
      
      --
      
      PiperOrigin-RevId: 320117767
      Co-authored-by: default avatarTF Object Detection Team <no-reply@google.com>
      52bb4ab1
  2. 04 Jul, 2020 1 commit
  3. 01 Jul, 2020 2 commits
  4. 30 Jun, 2020 3 commits
    • Yiming Shi's avatar
      Add Faster RCNN Resnet V1 FPN Keras feature extractor (#8716) · 3300fa04
      Yiming Shi authored
      * Initial commit for faster rcnn resnet v1 fpn feature extractor.
      
      1. Setup code structure for fpn feature extractor
      
      * draft for faster rcnn resnet vi fpn feature extractor
      
      * draft for faster rcnn resnet v1 fpn feature extractor
      
      * add seperated class for resnet 50 101 152
      
      * draft for get_box_classifier_feature_extractor_model
      
      * remove unused code
      
      * Init test file for faster_rcnn_fpn_keras_feature extractor
      
      * add unit test for get_proposal_feature_extractor_model
      
      * add unit test for get_proposal_feature_extractor_model smaller input size
      
      * add unit test for get_proposal_feature_extractor_model incorrect dimension
      
      * change keras model output format
      
      * Update size on extract_proposal_features tests
      
      * change default fpn_min_level to 2
      
      * fix error in get_box_classifier_feature_extractor_model
      
      * add shape test for get_box_classifier_feature_extractor_model
      
      * fix coding style
      
      * Fix coding style for feature extractor.
      
      * add faster rcnn resnet v1 fpn feature extractor to model builder
      
      * rename fpn feature extractors
      
      * modify doc string for Feature extractor:
      
      drop word "implementation"
      
      * add todo in get_box_classifier_feature_extractor_model
      
      * remove enable_v2_behavior
      
      * drop unittest test_extract_proposal_features_dies_with_incorrect_rank_inputs
      
      * modify feature extractor name
      
      * remove min_depth and depth_multiplier feature
      
      * Add coarse layers for faster rcnn fpn keras model
      
      1. Add coarse layers
      2. Update corresponding unit test to check the size of the coarse layer
      is correct
      
      * change the default max_fpn_level to 6
      
      * change unittest since default max_fpn_level is change to 6
      3300fa04
    • vivek rathod's avatar
      Merged commit includes the following changes: (#8755) · 0e57630c
      vivek rathod authored
      319052168  by rathodv:
      
          Change assertAllEqual to assertAllClose for Position Sensitive Crop and Resize to avoid flaky tests.
      
      --
      319044492  by rathodv:
      
          Internal change.
      
      --
      319039033  by ronnyvotel:
      
          Preprocessor ops for DensePose.
      
      --
      319035440  by sbeery:
      
          External beam code with DataFlow Support
      
      --
      318899436  by ronnyvotel:
      
          DensePose library for common operations like scaling, coordinate transformations, and flipping.
      
      --
      318833308  by Vivek Rathod:
      
            Internal Change
      
      --
      
      PiperOrigin-RevId: 319052168
      0e57630c
    • kmindspark's avatar
      revert properly (#8751) · cc5a7980
      kmindspark authored
      cc5a7980
  5. 27 Jun, 2020 1 commit
  6. 26 Jun, 2020 3 commits
    • vivek rathod's avatar
      Merged commit includes the following changes: (#8741) · 6ef140dc
      vivek rathod authored
      318545448  by jonathanhuang:
      
          Modifies visualization code in TF2 evaluation loop so that we don't write out image summaries to disk for every single image.  This change will reduce summary file sizes by ~2 orders of magnitude on average and speed up evaluation cycles (20 minutes per COCO eval cycle vs 2 hours for RetinaNet).
      
      --
      318514741  by sbeery:
      
          Adding link to the blog post
      
      --
      
      PiperOrigin-RevId: 318545448
      6ef140dc
    • vivek rathod's avatar
      Merged commit includes the following changes: (#8740) · a555f1b0
      vivek rathod authored
      318497061  by rathodv:
      
          1. Replace strategy.run() with strategy.experimental_run_v2() and replace tensor.ref() with tensor.experimental_ref() to be compatible with TF2.1 runtime on cloud.
          2. Fix expected string in failing PY3 tests.
      
      --
      318493408  by aom:
      
          Implements "Bidirectional Feature Pyramid Network Generators" for BiFPN-based feature extractors (e.g. EfficientDet).
      
      --
      
      PiperOrigin-RevId: 318497061
      a555f1b0
    • vivek rathod's avatar
      Merged commit includes the following changes: (#8739) · 0f0c7745
      vivek rathod authored
      318417714  by jonathanhuang:
      
          Internal change.
      
      --
      318367213  by sbeery:
      
          Pointing users to more documentation for beam
      
      --
      318358685  by sbeery:
      
          Context R-CNN sample config for GPU
      
      --
      318309800  by rathodv:
      
          Internal
      
      --
      318303364  by ronnyvotel:
      
          Adding the option for parsing and including DensePose annotations. http://densepose.org/
      
      --
      318291319  by aom:
      
          Adds conv_bn_act conv_block option, and naming convention changes for BiFPN utils.
      
      --
      318200598  by ronnyvotel:
      
          Updating the TF Example Decoder to parse DensePose annotations.
      
      --
      318174065  by jonathanhuang:
      
          Internal change.
      
      --
      318167805  by rathodv:
      
          Add use_tpu flag to TF2 binary.
      
      --
      318145285  by aom:
      
          Adds option for convolutional keras box predictor to force use_bias.
      
      --
      
      PiperOrigin-RevId: 318417714
      0f0c7745
  7. 24 Jun, 2020 1 commit
    • vivek rathod's avatar
      Merged commit includes the following changes: (#8728) · e0dade52
      vivek rathod authored
      318106429  by derekjchow:
      
          Add Dockerfiles for TF-OD API.
      
          1.15 and 2.2 supported currently.
      
      --
      318083650  by rathodv:
      
          Internal Change.
      
      --
      317893148  by Zhichao Lu:
      
          Fix mapping from proto fields to parameters of the data augmentation functions for horizontal flip, vertical flip and 90 degree rotations.
      
      --
      317753117  by Zhichao Lu:
      
          Adds keras hyperparam option to force use_bias to True, even when using batch norm.
      
      --
      317613986  by Zhichao Lu:
      
          Improves Keypoints support for data augmentation by means of 90 degree rotation adding an option to permute keypoints.
      
          Unify the interfaces among flip and rotation ops for data augmentation by exposing additional properties to the user.
      
      --
      317136881  by Zhichao Lu:
      
          Clarifying documentation
      
      --
      317097141  by Zhichao Lu:
      
          Adding Context R-CNN Release to TFODAPI ReadMe
      
      --
      316999744  by Zhichao Lu:
      
          Add import tensorflow.compat...
      e0dade52
  8. 18 Jun, 2020 1 commit
  9. 17 Jun, 2020 1 commit
  10. 12 Jun, 2020 1 commit
  11. 26 May, 2020 1 commit
    • pkulzc's avatar
      Release MobileDet code and model, and require tf_slim installation for OD API. (#8562) · 451906e4
      pkulzc authored
      
      
      * Merged commit includes the following changes:
      311933687  by Sergio Guadarrama:
      
          Removes spurios use of tf.compat.v2, which results in spurious tf.compat.v1.compat.v2. Adds basic test to nasnet_utils.
          Replaces all remaining import tensorflow as tf with import tensorflow.compat.v1 as tf
      
      --
      311766063  by Sergio Guadarrama:
      
          Removes explicit tf.compat.v1 in all call sites (we already import tf.compat.v1, so this code was  doing tf.compat.v1.compat.v1). The existing code worked in latest version of tensorflow, 2.2, (and 1.15) but not in 1.14 or in 2.0.0a, this CL fixes it.
      
      --
      311624958  by Sergio Guadarrama:
      
          Updates README that doesn't render properly in github documentation
      
      --
      310980959  by Sergio Guadarrama:
      
          Moves research_models/slim off tf.contrib.slim/layers/framework to tf_slim
      
      --
      310263156  by Sergio Guadarrama:
      
          Adds model breakdown for MobilenetV3
      
      --
      308640516  by Sergio Guadarrama:
      
          Internal change
      
      308244396  by Sergio Guadarrama:
      
          GroupNormalization support for MobilenetV3.
      
      --
      307475800  by Sergio Guadarrama:
      
          Internal change
      
      --
      302077708  by Sergio Guadarrama:
      
          Remove `disable_tf2` behavior from slim py_library targets
      
      --
      301208453  by Sergio Guadarrama:
      
          Automated refactoring to make code Python 3 compatible.
      
      --
      300816672  by Sergio Guadarrama:
      
          Internal change
      
      299433840  by Sergio Guadarrama:
      
          Internal change
      
      299221609  by Sergio Guadarrama:
      
          Explicitly disable Tensorflow v2 behaviors for all TF1.x binaries and tests
      
      --
      299179617  by Sergio Guadarrama:
      
          Internal change
      
      299040784  by Sergio Guadarrama:
      
          Internal change
      
      299036699  by Sergio Guadarrama:
      
          Internal change
      
      298736510  by Sergio Guadarrama:
      
          Internal change
      
      298732599  by Sergio Guadarrama:
      
          Internal change
      
      298729507  by Sergio Guadarrama:
      
          Internal change
      
      298253328  by Sergio Guadarrama:
      
          Internal change
      
      297788346  by Sergio Guadarrama:
      
          Internal change
      
      297785278  by Sergio Guadarrama:
      
          Internal change
      
      297783127  by Sergio Guadarrama:
      
          Internal change
      
      297725870  by Sergio Guadarrama:
      
          Internal change
      
      297721811  by Sergio Guadarrama:
      
          Internal change
      
      297711347  by Sergio Guadarrama:
      
          Internal change
      
      297708059  by Sergio Guadarrama:
      
          Internal change
      
      297701831  by Sergio Guadarrama:
      
          Internal change
      
      297700038  by Sergio Guadarrama:
      
          Internal change
      
      297670468  by Sergio Guadarrama:
      
          Internal change.
      
      --
      297350326  by Sergio Guadarrama:
      
          Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
      
      --
      297201668  by Sergio Guadarrama:
      
          Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
      
      --
      294483372  by Sergio Guadarrama:
      
          Internal change
      
      PiperOrigin-RevId: 311933687
      
      * Merged commit includes the following changes:
      312578615  by Menglong Zhu:
      
          Modify the LSTM feature extractors to be python 3 compatible.
      
      --
      311264357  by Menglong Zhu:
      
          Removes contrib.slim
      
      --
      308957207  by Menglong Zhu:
      
          Automated refactoring to make code Python 3 compatible.
      
      --
      306976470  by yongzhe:
      
          Internal change
      
      306777559  by Menglong Zhu:
      
          Internal change
      
      --
      299232507  by lzyuan:
      
          Internal update.
      
      --
      299221735  by lzyuan:
      
          Add small epsilon on max_range for quantize_op to prevent range collapse.
      
      --
      
      PiperOrigin-RevId: 312578615
      
      * Merged commit includes the following changes:
      310447280  by lzc:
      
          Internal changes.
      
      --
      
      PiperOrigin-RevId: 310447280
      Co-authored-by: default avatarSergio Guadarrama <sguada@google.com>
      Co-authored-by: default avatarMenglong Zhu <menglong@google.com>
      451906e4
  12. 20 May, 2020 1 commit
  13. 12 May, 2020 1 commit
    • pkulzc's avatar
      Open source MnasFPN and minor fixes to OD API (#8484) · 8518d053
      pkulzc authored
      310447280  by lzc:
      
          Internal change
      
      310420845  by Zhichao Lu:
      
          Open source the internal Context RCNN code.
      
      --
      310362339  by Zhichao Lu:
      
          Internal change
      
      310259448  by lzc:
      
          Update required TF version for OD API.
      
      --
      310252159  by Zhichao Lu:
      
          Port patch_ops_test to TF1/TF2 as TPUs.
      
      --
      310247180  by Zhichao Lu:
      
          Ignore keypoint heatmap loss in the regions/bounding boxes with target keypoint
          class but no valid keypoint annotations.
      
      --
      310178294  by Zhichao Lu:
      
          Opensource MnasFPN
          https://arxiv.org/abs/1912.01106
      
      --
      310094222  by lzc:
      
          Internal changes.
      
      --
      310085250  by lzc:
      
          Internal Change.
      
      --
      310016447  by huizhongc:
      
          Remove unrecognized classes from labeled_classes.
      
      --
      310009470  by rathodv:
      
          Mark batcher.py as TF1 only.
      
      --
      310001984  by rathodv:
      
          Update core/preprocessor.py to be compatible with TF1/TF2..
      
      --
      309455035  by Zhi...
      8518d053
  14. 26 Apr, 2020 1 commit
  15. 25 Apr, 2020 9 commits
  16. 24 Apr, 2020 4 commits
  17. 13 Apr, 2020 1 commit
    • Jaeyoun Kim's avatar
      Updated README files of research models (#8390) · d466d4e6
      Jaeyoun Kim authored
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      No Maintenance Intended
      
      * Create README.md
      
      No Maintenance Intended
      
      * Update README.md
      
      No Maintenance Intended
      
      * Update README.md...
      d466d4e6
  18. 24 Jan, 2020 1 commit
  19. 13 Nov, 2019 1 commit
    • Mark Sandler's avatar
      Merged commit includes the following changes: (#7800) · b968a6ce
      Mark Sandler authored
      280142968  by Zhichao Lu:
      
          Opensource MobilenetEdgeTPU + ssdlite into third-party object detection APIs on EdgeTPU.
      
      --
      280134001  by Zhichao Lu:
      
          Adds MobilenetEdgeTpu + ssdlite into internal object detection APIs on EdgeTPU.
      
      --
      278941778  by Zhichao Lu:
      
          Add support for fixed input shapes for 'encoded_image_string_tensor' and 'tf_example' inputs.
      
      --
      278933274  by Zhichao Lu:
      
            Adding fool proof check to avoid using 1x1 depthwise conv op.
      
      --
      278762192  by Zhichao Lu:
      
          Ensure correct number of iterations after training resumes.
      
      --
      278746440  by Zhichao Lu:
      
          Internal change.
      
      --
      278006953  by Zhichao Lu:
      
          Internal changes to tf.contrib symbols
      
      --
      278006330  by Zhichao Lu:
      
          Internal changes to tf.contrib symbols
      
      --
      277593959  by Zhichao Lu:
      
            Make the ssd_feature_extractor_test.py PY3 compatible. The "six.zip" will use "itertools.izip" in Python 2 and "zip" in Python 3.
      
      --
      277344551  by Zhichao Lu:
      
          Internal change.
      
      --
      277154953  by Zhichao Lu:
      
          Conditionally use keras based optimizers so that check-pointing works correctly.
          This change also enables summaries on TPU which were previously not enabled
          due to a bug.
      
      --
      277087572  by Zhichao Lu:
      
          Fix resizing boxes when using keep_aspect_ratio_rezier with padding.
      
      --
      275898543  by Zhichao Lu:
      
          Support label_map_proto as input in label_map_util.
      
      --
      275347137  by Zhichao Lu:
      
          Add force_no_resize flag in eval.proto which replaces
          the resize config with identity resizer. This is useful
          when we want to test at the original image resolution.
      
      --
      
      PiperOrigin-RevId: 280142968
      b968a6ce
  20. 17 Oct, 2019 1 commit
    • pkulzc's avatar
      Release MobileNet V3 models and SSDLite models with MobileNet V3 backbone. (#7678) · 0ba83cf0
      pkulzc authored
      * Merged commit includes the following changes:
      275131829  by Sergio Guadarrama:
      
          updates mobilenet/README.md to be github compatible adds V2+ reference to mobilenet_v1.md file and fixes invalid markdown
      
      --
      274908068  by Sergio Guadarrama:
      
          Opensource MobilenetV3 detection models.
      
      --
      274697808  by Sergio Guadarrama:
      
          Fixed cases where tf.TensorShape was constructed with float dimensions
      
          This is a prerequisite for making TensorShape and Dimension more strict
          about the types of their arguments.
      
      --
      273577462  by Sergio Guadarrama:
      
          Fixing `conv_defs['defaults']` override issue.
      
      --
      272801298  by Sergio Guadarrama:
      
          Adds links to trained models for Moblienet V3, adds a version of minimalistic mobilenet-v3 to the definitions.
      
      --
      268928503  by Sergio Guadarrama:
      
          Mobilenet v2 with group normalization.
      
      --
      263492735  by Sergio Guadarrama:
      
          Internal change
      
      260037126  by Sergio Guadarrama:
      
          Adds an option of using a custom depthwise operation in `expanded_conv`.
      
      --
      259997001  by Sergio Guadarrama:
      
          Explicitly mark Python binaries/tests with python_version = "PY2".
      
      --
      252697685  by Sergio Guadarrama:
      
          Internal change
      
      251918746  by Sergio Guadarrama:
      
          Internal change
      
      251909704  by Sergio Guadarrama:
      
          Mobilenet V3 backbone implementation.
      
      --
      247510236  by Sergio Guadarrama:
      
          Internal change
      
      246196802  by Sergio Guadarrama:
      
          Internal change
      
      246014539  by Sergio Guadarrama:
      
          Internal change
      
      245891435  by Sergio Guadarrama:
      
          Internal change
      
      245834925  by Sergio Guadarrama:
      
          n/a
      
      --
      
      PiperOrigin-RevId: 275131829
      
      * Merged commit includes the following changes:
      274959989  by Zhichao Lu:
      
          Update detection model zoo with MobilenetV3 SSD candidates.
      
      --
      274908068  by Zhichao Lu:
      
          Opensource MobilenetV3 detection models.
      
      --
      274695889  by richardmunoz:
      
          RandomPatchGaussian preprocessing step
      
          This step can be used during model training to randomly apply gaussian noise to a random image patch. Example addition to an Object Detection API pipeline config:
      
          train_config {
            ...
            data_augmentation_options {
              random_patch_gaussian {
                random_coef: 0.5
                min_patch_size: 1
                max_patch_size: 250
                min_gaussian_stddev: 0.0
                max_gaussian_stddev: 1.0
              }
            }
            ...
          }
      
      --
      274257872  by lzc:
      
          Internal change.
      
      --
      274114689  by Zhichao Lu:
      
          Pass native_resize flag to other FPN variants.
      
      --
      274112308  by lzc:
      
          Internal change.
      
      --
      274090763  by richardmunoz:
      
          Util function for getting a patch mask on an image for use with the Object Detection API
      
      --
      274069806  by Zhichao Lu:
      
          Adding functions which will help compute predictions and losses for CenterNet.
      
      --
      273860828  by lzc:
      
          Internal change.
      
      --
      273380069  by richardmunoz:
      
          RandomImageDownscaleToTargetPixels preprocessing step
      
          This step can be used during model training to randomly downscale an image to a random target number of pixels. If the image does not contain more than the target number of pixels, then downscaling is skipped. Example addition to an Object Detection API pipeline config:
      
          train_config {
            ...
            data_augmentation_options {
              random_downscale_to_target_pixels {
                random_coef: 0.5
                min_target_pixels: 300000
                max_target_pixels: 500000
              }
            }
            ...
          }
      
      --
      272987602  by Zhichao Lu:
      
          Avoid -inf when empty box list is passed.
      
      --
      272525836  by Zhichao Lu:
      
          Cleanup repeated resizing code in meta archs.
      
      --
      272458667  by richardmunoz:
      
          RandomJpegQuality preprocessing step
      
          This step can be used during model training to randomly encode the image into a jpeg with a random quality level. Example addition to an Object Detection API pipeline config:
      
          train_config {
            ...
            data_augmentation_options {
              random_jpeg_quality {
                random_coef: 0.5
                min_jpeg_quality: 80
                max_jpeg_quality: 100
              }
            }
            ...
          }
      
      --
      271412717  by Zhichao Lu:
      
          Enables TPU training with the V2 eager + tf.function Object Detection training loops.
      
      --
      270744153  by Zhichao Lu:
      
          Adding the offset and size target assigners for CenterNet.
      
      --
      269916081  by Zhichao Lu:
      
          Include basic installation in Object Detection API tutorial.
          Also:
           - Use TF2.0
           - Use saved_model
      
      --
      269376056  by Zhichao Lu:
      
          Fix to variable loading in RetinaNet w/ custom loops. (makes the code rely on the exact name scopes that are generated a little bit less)
      
      --
      269256251  by lzc:
      
          Add use_partitioned_nms field to config and update post_prossing_builder to honor that flag when building nms function.
      
      --
      268865295  by Zhichao Lu:
      
          Adding functionality for importing and merging back internal state of the metric.
      
      --
      268640984  by Zhichao Lu:
      
          Fix computation of gaussian sigma value to create CenterNet heatmap target.
      
      --
      267475576  by Zhichao Lu:
      
          Fix for exporter trying to export non-existent exponential moving averages.
      
      --
      267286768  by Zhichao Lu:
      
          Update mixed-precision policy.
      
      --
      266166879  by Zhichao Lu:
      
          Internal change
      
      265860884  by Zhichao Lu:
      
          Apply floor function to center coordinates when creating heatmap for CenterNet target.
      
      --
      265702749  by Zhichao Lu:
      
          Internal change
      
      --
      264241949  by ronnyvotel:
      
          Updating Faster R-CNN 'final_anchors' to be in normalized coordinates.
      
      --
      264175192  by lzc:
      
          Update model_fn to only read hparams if it is not None.
      
      --
      264159328  by Zhichao Lu:
      
          Modify nearest neighbor upsampling to eliminate a multiply operation. For quantized models, the multiply operation gets unnecessarily quantized and reduces accuracy (simple stacking would work in place of the broadcast op which doesn't require quantization). Also removes an unnecessary reshape op.
      
      --
      263668306  by Zhichao Lu:
      
          Add the option to use dynamic map_fn for batch NMS
      
      --
      263031163  by Zhichao Lu:
      
          Mark outside compilation for NMS as optional.
      
      --
      263024916  by Zhichao Lu:
      
          Add an ExperimentalModel meta arch for experimenting with new model types.
      
      --
      262655894  by Zhichao Lu:
      
          Add the center heatmap target assigner for CenterNet
      
      --
      262431036  by Zhichao Lu:
      
          Adding add_eval_dict to allow for evaluation on model_v2
      
      --
      262035351  by ronnyvotel:
      
          Removing any non-Tensor predictions from the third stage of Mask R-CNN.
      
      --
      261953416  by Zhichao Lu:
      
          Internal change.
      
      --
      261834966  by Zhichao Lu:
      
          Fix the NMS OOM issue on TPU by forcing NMS to run outside of TPU.
      
      --
      261775941  by Zhichao Lu:
      
          Make Keras InputLayer compatible with both TF 1.x and TF 2.0.
      
      --
      261775633  by Zhichao Lu:
      
          Visualize additional channels with ground-truth bounding boxes.
      
      --
      261768117  by lzc:
      
          Internal change.
      
      --
      261766773  by ronnyvotel:
      
          Exposing `return_raw_detections_during_predict` in Faster R-CNN Proto.
      
      --
      260975089  by ronnyvotel:
      
          Moving calculation of batched prediction tensor names after all tensors in prediction dictionary are created.
      
      --
      259816913  by ronnyvotel:
      
          Adding raw detection boxes and feature map indices to SSD
      
      --
      259791955  by Zhichao Lu:
      
          Added a flag to control the use partitioned_non_max_suppression.
      
      --
      259580475  by Zhichao Lu:
      
          Tweak quantization-aware training re-writer to support NasFpn model architecture.
      
      --
      259579943  by rathodv:
      
          Add a meta target assigner proto and builders in OD API.
      
      --
      259577741  by Zhichao Lu:
      
          Internal change.
      
      --
      259366315  by lzc:
      
          Internal change.
      
      --
      259344310  by ronnyvotel:
      
          Updating faster rcnn so that raw_detection_boxes from predict() are in normalized coordinates.
      
      --
      259338670  by Zhichao Lu:
      
          Add support for use_native_resize_op to more feature extractors. Use dynamic shapes when static shapes are not available.
      
      --
      259083543  by ronnyvotel:
      
          Updating/fixing documentation.
      
      --
      259078937  by rathodv:
      
          Add prediction fields for tensors returned from detection_model.predict.
      
      --
      259044601  by Zhichao Lu:
      
          Add protocol buffer and builders for temperature scaling calibration.
      
      --
      259036770  by lzc:
      
          Internal changes.
      
      --
      259006223  by ronnyvotel:
      
          Adding detection anchor indices to Faster R-CNN Config. This is useful when one wishes to associate final detections and the anchors (or pre-nms boxes) from which they originated.
      
      --
      258872501  by Zhichao Lu:
      
          Run the training pipeline of ssd + resnet_v1_50 + fpn with a checkpoint.
      
      --
      258840686  by ronnyvotel:
      
          Adding standard outputs to DetectionModel.predict(). This CL only updates Faster R-CNN. Other meta architectures will be updated in future CLs.
      
      --
      258672969  by lzc:
      
          Internal change.
      
      --
      258649494  by lzc:
      
          Internal changes.
      
      --
      258630321  by ronnyvotel:
      
          Fixing documentation in shape_utils.flatten_dimensions().
      
      --
      258468145  by Zhichao Lu:
      
          Add additional output tensors parameter to Postprocess op.
      
      --
      258099219  by Zhichao Lu:
      
          Internal changes
      
      --
      
      PiperOrigin-RevId: 274959989
      0ba83cf0
  21. 11 Oct, 2019 2 commits
  22. 09 Oct, 2019 1 commit
    • Pooya Davoodi's avatar
      Add Combined NMS (#6138) · 3980d2a1
      Pooya Davoodi authored
      * Updating python API to use CombinedNonMaxSuppresion TF operator
      
      1. Adds a unit test to test post_processing python API
      2. Currently sets clip_window to None as the kernel uses the default
         clip_window of [0,0,1,1]
      3. Added use_static_shapes to the API. In old API if
         use_static_shapes is true, then it pads/clips outputs to max_total_size, if
      specified. If not specified, it pads to num_classes*max_size_per_class.
       If use_static_shapes is false, it always pads/clips to max_total_size.
      
      Update unit test to account for clipped bouding boxes
      
      Changed the name to CombinedNonMaxSuppression based on feedback from Google
      
      Added additional parameters to combinedNMS python function. They are currently
      unused and required for networks like FasterRCNN and MaskRCNN
      
      * Delete selected_indices from API
      
      Because it was removed from CombinedNMS recently in the PR.
      
      * Improve doc of function combined_non_max_suppression
      
      * Enable CombinedNonMaxSuppression for first_stage_nms
      
      * fix bug
      
      * Ensure agnostic_nms is not used with combined_nms
      
      Remove redundant arguments from combined_nms
      
      * Fix pylint
      
      * Add checks for unsupported args
      
      * Fix pylint
      
      * Move combined_non_max_suppression to batch_multiclass_non_max_suppression
      
      Also rename combined_nms to use_combined_nms
      
      * Delete combined_nms for first_stage_nms because it does not work
      
      * Revert "Delete combined_nms for first_stage_nms because it does not work"
      
      This reverts commit 2a3cc5145f17cee630a67ddedd20e90c2920fa9f.
      
      * Use nmsed_additional_fields.get to avoid error
      
      * Merge combined_non_max_suppression with main nms function
      
      * Rename combined_nms for first stage nms
      
      * Improve  docs
      
      * Use assertListEqual for numpy arrays
      
      * Fix pylint errors
      
      * End comments with period
      3980d2a1