1. 22 Jan, 2020 1 commit
    • Mark Sandler's avatar
      Merged commit includes the following changes: (#8077) · d4eedbb9
      Mark Sandler authored
      
      
      Internal cleanup (py2->py3) plus the following changes:
      
      285513318  by Sergio Guadarrama:
      
          Adds a script for post-training quantization
      
      284222305  by Sergio Guadarrama:
      
          Modified squeeze-excite operation to accommodate tensors of undefined (Nonetype) H/W.
      
      282028343  by Sergio Guadarrama:
      
          Add MobilenetV3 and MobilenetEdgeTPU to the slim/nets_factory.
      
      PiperOrigin-RevId: 289455329
      Co-authored-by: default avatarSergio Guadarrama <sguada@gmail.com>
      d4eedbb9
  2. 04 Dec, 2019 1 commit
  3. 13 Nov, 2019 1 commit
  4. 12 Nov, 2019 1 commit
    • Mark Sandler's avatar
      Merged commit includes the following changes: (#7797) · ba87e2c6
      Mark Sandler authored
      279978375  by Sergio Guadarrama:
      
          Pass s=2 to the expanded_conv block so it can apply residual correctly in case of fused convolutions.  (Before it was relying on channel mismatch only)
      
      --
      279788358  by Sergio Guadarrama:
      
          Update README to add mobilenet-edgetpu details
      
      --
      279774392  by Sergio Guadarrama:
      
          Adds MobilenetV3-EdgeTpu definition.
      
      --
      278917344  by Sergio Guadarrama:
      
          Create visualwakewords dataset using slim scripts instead of custom scripts.
      
      --
      277940048  by Sergio Guadarrama:
      
          Internal changes to tf.contrib symbols
      
      --
      
      PiperOrigin-RevId: 279978375
      ba87e2c6
  5. 21 Oct, 2019 1 commit
    • pkulzc's avatar
      Merged commit includes the following changes: (#7690) · 6766e6dd
      pkulzc authored
      275538818  by Sergio Guadarrama:
      
          Support grayscale input images in Slim model training
      
      --
      275355841  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.
      
      --
      275131829  by Sergio Guadarrama:
      
          updates mobilenet/README.md to be github compatible adds V2+ reference to mobilenet_v1.md file and fixes invalid markdown
      
      --
      
      PiperOrigin-RevId: 275538818
      6766e6dd
  6. 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
  7. 11 Oct, 2019 1 commit
  8. 26 Apr, 2019 1 commit
    • pkulzc's avatar
      Add VisualWakeWords Dataset to Slim dataset_factory (#6661) · 67c403fc
      pkulzc authored
      * Merged commit includes the following changes:
      244869387  by Sergio Guadarrama:
      
          This CL adds script/code to generate Visual WakeWords Dataset annotation files and TF records starting from COCO dataset.
      
      --
      244866660  by Sergio Guadarrama:
      
          Add VisualWakeWords Dataset to Slim dataset_factory to train MobileNets on it.
      
      --
      244836000  by Sergio Guadarrama:
      
          n/a
      
      --
      244104396  by Sergio Guadarrama:
      
          Add an option whether to enable / disable image cropping in inception_preprocessing.
      
      --
      242040128  by Sergio Guadarrama:
      
          Internal change
      
      241793677  by Sergio Guadarrama:
      
          Internal change
      
      241073081  by Sergio Guadarrama:
      
          Internal change
      
      240131189  by Sergio Guadarrama:
      
          Internal change
      
      PiperOrigin-RevId: 244869387
      
      * Merged commit includes the following changes:
      245431876  by Sergio Guadarrama:
      
          Internal cleanup
      
      --
      
      PiperOrigin-RevId: 245431876
      
      * Merged commit includes the following changes:
      245454983  by Sergio Guadarrama:
      
          Internal Cleanup
      
      --
      
      PiperOrigin-RevId: 245454983
      67c403fc
  9. 21 Mar, 2019 1 commit
    • pkulzc's avatar
      Merged commit includes the following changes: (#6407) · 47d6c66e
      pkulzc authored
      233991726  by Sergio Guadarrama:
      
          Internal change
      
      231925959  by Sergio Guadarrama:
      
          Internal change
      
      231253502  by Sergio Guadarrama:
      
          Internal change
      
      229973546  by Sergio Guadarrama:
      
          Internal change
      
      229870842  by Sergio Guadarrama:
      
          Internal change
      
      PiperOrigin-RevId: 233991726
      47d6c66e
  10. 17 Jan, 2019 1 commit
    • pkulzc's avatar
      Merged commit includes the following changes: (#6062) · dcf52aab
      pkulzc authored
      228203246  by Sergio Guadarrama:
      
          Add a write text graphdef option.
      
      --
      226110161  by Sergio Guadarrama:
      
          Add license to i3d/s3dg and tests.
      
      --
      226074013  by Sergio Guadarrama:
      
          Network definitions for I3D and S3D-G.
      
      --
      224394404  by Sergio Guadarrama:
      
          Add video model option for exported inference graphs.
      
      --
      224220779  by Sergio Guadarrama:
      
          Internal change
      
      223589268  by Sergio Guadarrama:
      
          Internal change
      
      PiperOrigin-RevId: 228203246
      dcf52aab
  11. 30 Nov, 2018 1 commit
    • Sergio Guadarrama's avatar
      Merged commit includes the following changes: · 2c680af3
      Sergio Guadarrama authored
      223150784  by Sergio Guadarrama:
      
          Allow using batch norm scale parameters for Inception models.
      
      --
      221391590  by Sergio Guadarrama:
      
          Add support for group normalization in the object detection API. Just adding MobileNet-v1 SSD currently. This may serve as a road map for other models that wish to support group normalization as an option.
      
      --
      221342582  by Sergio Guadarrama:
      
          Internal change
      
      220817084  by Sergio Guadarrama:
      
          Internal change
      
      216005108  by Sergio Guadarrama:
      
          Introduce hparam `use_bounded_activation` for NASNet. The hparam decides whether to use
          1. bounded activation
          2. clip_by_value for the add operands and bounded activation after add operator.
          3. bounded activation before 'none' and 'pooling' branch
          The restriction on the tensor value range makes it compatible with quantized inference.
      
      --
      
      PiperOrigin-RevId: 223150784
      2c680af3
  12. 25 Sep, 2018 1 commit
    • pkulzc's avatar
      Update slim and fix minor issue in object detection (#5354) · f505cecd
      pkulzc authored
      * Merged commit includes the following changes:
      213899768  by Sergio Guadarrama:
      
          Fixes #3819.
      
      --
      213493831  by Sergio Guadarrama:
      
          Internal change
      
      212057654  by Sergio Guadarrama:
      
          Internal change
      
      210747685  by Sergio Guadarrama:
      
          For FPN, when use_depthwise is set to true, use slightly modified mobilenet v1 config.
      
      --
      210128931  by Sergio Guadarrama:
      
          Allow user-defined current_step in NASNet.
      
      --
      209092664  by Sergio Guadarrama:
      
          Add quantized fine-tuning / training / eval and export to slim image classifier binaries.
      
      --
      207651347  by Sergio Guadarrama:
      
          Update mobilenet v1 docs to include revised tflite models.
      
      --
      207165245  by Sergio Guadarrama:
      
          Internal change
      
      207095064  by Sergio Guadarrama:
      
          Internal change
      
      PiperOrigin-RevId: 213899768
      
      * Update model_lib.py to fix eval_spec name issue.
      f505cecd
  13. 03 Aug, 2018 1 commit
  14. 26 Jul, 2018 1 commit
    • Chenxi Liu's avatar
      Internal changes including PNASNet-5 mobile (#4895) · 696b69a4
      Chenxi Liu authored
      * PiperOrigin-RevId: 201234832
      
      * PiperOrigin-RevId: 202507333
      
      * PiperOrigin-RevId: 204320344
      
      * Add PNASNet-5 mobile network model and cell structure.
      
      PiperOrigin-RevId: 204735410
      
      * Add option to customize individual projection layer activation.
      
      PiperOrigin-RevId: 204776951
      696b69a4
  15. 16 Jul, 2018 2 commits
  16. 19 Jun, 2018 1 commit
    • Mark Sandler's avatar
      1. Splits train_image_classifier into library and binary rule, to simplify reuse. (#4552) · 5bb9e6f3
      Mark Sandler authored
      2. Flag that allows to prevent imagenet.py  from downloading label_to_names from github and/or dumping into training directory (which might be read-only)
      3. Adds some comments about how decay steps are computed, since it computed differently when there are clones vs sync replicas.
      4. Updates mobilenet.md to describe the training process using train_image_classifer
      5. Add citation for TF-Slim model library.
      
      PiperOrigin-RevId: 191955231
      
      PiperOrigin-RevId: 193254125
      
      PiperOrigin-RevId: 193371562
      
      PiperOrigin-RevId: 194085628
      
      PiperOrigin-RevId: 194857067
      
      PiperOrigin-RevId: 196125653
      
      PiperOrigin-RevId: 196589070
      
      PiperOrigin-RevId: 199522873
      
      PiperOrigin-RevId: 200351305
      5bb9e6f3
  17. 01 May, 2018 1 commit
    • pkulzc's avatar
      Internal changes to slim and object detection (#4100) · 505f554c
      pkulzc authored
      * Adding option for one_box_for_all_classes to the box_predictor
      
      PiperOrigin-RevId: 192813444
      
      * Extend to accept different ratios of conv channels.
      
      PiperOrigin-RevId: 192837477
      
      * Remove inaccurate caveat from proto file.
      
      PiperOrigin-RevId: 192850747
      
      * Add option to set dropout for classification net in weight shared box predictor.
      
      PiperOrigin-RevId: 192922089
      
      * fix flakiness in testSSDRandomCropWithMultiClassScores due to randomness.
      
      PiperOrigin-RevId: 193067658
      
      * Post-process now works again in train mode.
      
      PiperOrigin-RevId: 193087707
      
      * Adding support for reading in logits as groundtruth labels and applying an optional temperature (scaling) before softmax in support of distillation.
      
      PiperOrigin-RevId: 193119411
      
      * Add a util function to visualize value histogram as a tf.summary.image.
      
      PiperOrigin-RevId: 193137342
      
      * Do not add batch norm parameters to final conv2d ops that predict boxes encodings and class scores in weight shared conv box predictor.
      
      This allows us to set proper bias and force initial predictions to be background when using focal loss.
      
      PiperOrigin-RevId: 193204364
      
      * Make sure the final layers are also resized proportional to conv_depth_ratio.
      
      PiperOrigin-RevId: 193228972
      
      * Remove deprecated batch_norm_trainable field from ssd mobilenet v2 config
      
      PiperOrigin-RevId: 193244778
      
      * Updating coco evaluation metrics to allow for a batch of image info, rather than a single image.
      
      PiperOrigin-RevId: 193382651
      
      * Update protobuf requirements to 3+ in installation docs.
      
      PiperOrigin-RevId: 193409179
      
      * Add support for training keypoints.
      
      PiperOrigin-RevId: 193576336
      
      * Fix data augmentation functions.
      
      PiperOrigin-RevId: 193737238
      
      * Read the default batch size from config file.
      
      PiperOrigin-RevId: 193959861
      
      * Fixing a bug in the coco evaluator.
      
      PiperOrigin-RevId: 193974479
      
      * num_gt_boxes_per_image and num_det_boxes_per_image value incorrect.
      Should be not the expand dim.
      
      PiperOrigin-RevId: 194122420
      
      * Add option to evaluate any checkpoint (without requiring write access to that directory and overwriting any existing logs there).
      
      PiperOrigin-RevId: 194292198
      
      * PiperOrigin-RevId: 190346687
      
      * - Expose slim arg_scope function to compute keys to enable tessting.
      - Add is_training=None option to mobinenet arg_scopes. This allows the users to set is_training from an outer scope.
      
      PiperOrigin-RevId: 190997959
      
      * Add an option to not set slim arg_scope for batch_norm is_training parameter. This enables users to set the is_training parameter from an outer scope.
      
      PiperOrigin-RevId: 191611934
      
      * PiperOrigin-RevId: 191955231
      
      * PiperOrigin-RevId: 193254125
      
      * PiperOrigin-RevId: 193371562
      
      * PiperOrigin-RevId: 194085628
      505f554c
  18. 28 Mar, 2018 1 commit
    • Mark Sandler's avatar
      PNasNet (#3736) · 1bfe1df1
      Mark Sandler authored
      * PiperOrigin-RevId: 189857068
      
      * PiperOrigin-RevId: 190089200
      
      * Merge pull request #3702 from cclauss/from-six.moves-import-xrange-yet-again
      
      from six.moves import xrange (en masse) YET AGAIN
      
      PiperOrigin-RevId: 190255581
      
      * I Fixes bunch of model tests that were using python2 functions.
      
      II Updates mobilenet code:
      1) Mobilenet usage example
      2) Links to all checkpoints and updated README
      3) Performance graphs
      
      PiperOrigin-RevId: 190300379
      
      * PiperOrigin-RevId: 190306214
      
      * Updates notebook to reflect canonical repository location and fixes few
      variable names.
      1bfe1df1
  19. 23 Mar, 2018 1 commit
  20. 22 Mar, 2018 3 commits
    • pkulzc's avatar
      Internal changes for object detection. (#3656) · 001a2a61
      pkulzc authored
      * Force cast of num_classes to integer
      
      PiperOrigin-RevId: 188335318
      
      * Updating config util to allow overwriting of cosine decay learning rates.
      
      PiperOrigin-RevId: 188338852
      
      * Make box_list_ops.py and box_list_ops_test.py work with C API enabled.
      
      The C API has improved shape inference over the original Python
      code. This causes some previously-working conds to fail. Switching to smart_cond fixes this.
      
      Another effect of the improved shape inference is that one of the
      failures tested gets caught earlier, so I modified the test to reflect
      this.
      
      PiperOrigin-RevId: 188409792
      
      * Fix parallel event file writing issue.
      
      Without this change, the event files might get corrupted when multiple evaluations are run in parallel.
      
      PiperOrigin-RevId: 188502560
      
      * Deprecating the boolean flag of from_detection_checkpoint.
      
      Replace with a string field fine_tune_checkpoint_type to train_config to provide extensibility. The fine_tune_checkpoint_type can currently take value of `detection`, `classification`, or others when the restore_map is overwritten.
      
      PiperOrigin-RevId: 188518685
      
      * Automated g4 rollback of changelist 188502560
      
      PiperOrigin-RevId: 188519969
      
      * Introducing eval metrics specs for Coco Mask metrics. This allows metrics to be computed in tensorflow using the tf.learn Estimator.
      
      PiperOrigin-RevId: 188528485
      
      * Minor fix to make object_detection/metrics/coco_evaluation.py python3 compatible.
      
      PiperOrigin-RevId: 188550683
      
      * Updating eval_util to handle eval_metric_ops from multiple `DetectionEvaluator`s.
      
      PiperOrigin-RevId: 188560474
      
      * Allow tensor input for new_height and new_width for resize_image.
      
      PiperOrigin-RevId: 188561908
      
      * Fix typo in fine_tune_checkpoint_type name in trainer.
      
      PiperOrigin-RevId: 188799033
      
      * Adding mobilenet feature extractor to object detection.
      
      PiperOrigin-RevId: 188916897
      
      * Allow label maps to optionally contain an explicit background class with id zero.
      
      PiperOrigin-RevId: 188951089
      
      * Fix boundary conditions in random_pad_to_aspect_ratio to ensure that min_scale is always less than max_scale.
      
      PiperOrigin-RevId: 189026868
      
      * Fallback on from_detection_checkpoint option if fine_tune_checkpoint_type isn't set.
      
      PiperOrigin-RevId: 189052833
      
      * Add proper names for learning rate schedules so we don't see cryptic names on tensorboard.
      
      PiperOrigin-RevId: 189069837
      
      * Enforcing that all datasets are batched (and then unbatched in the model) with batch_size >= 1.
      
      PiperOrigin-RevId: 189117178
      
      * Adding regularization to total loss returned from DetectionModel.loss().
      
      PiperOrigin-RevId: 189189123
      
      * Standardize the names of loss scalars (for SSD, Faster R-CNN and R-FCN) in both training and eval so they can be compared on tensorboard.
      
      Log localization and classification losses in evaluation.
      
      PiperOrigin-RevId: 189189940
      
      * Remove negative test from box list ops test.
      
      PiperOrigin-RevId: 189229327
      
      * Add an option to warmup learning rate in manual stepping schedule.
      
      PiperOrigin-RevId: 189361039
      
      * Replace tf.contrib.slim.tfexample_decoder.LookupTensor with object_detection.data_decoders.tf_example_decoder.LookupTensor.
      
      PiperOrigin-RevId: 189388556
      
      * Force regularization summary variables under specific family names.
      
      PiperOrigin-RevId: 189393190
      
      * Automated g4 rollback of changelist 188619139
      
      PiperOrigin-RevId: 189396001
      
      * Remove step 0 schedule since we do a hard check for it after cl/189361039
      
      PiperOrigin-RevId: 189396697
      
      * PiperOrigin-RevId: 189040463
      
      * PiperOrigin-RevId: 189059229
      
      * PiperOrigin-RevId: 189214402
      
      * Force regularization summary variables under specific family names.
      
      PiperOrigin-RevId: 189393190
      
      * Automated g4 rollback of changelist 188619139
      
      PiperOrigin-RevId: 189396001
      
      * Make slim python3 compatible.
      
      * Monir fixes.
      
      * Add TargetAssignment summaries in a separate family.
      
      PiperOrigin-RevId: 189407487
      
      * 1. Setting `family` keyword arg prepends the summary names twice with the same name. Directly adding family suffix to the name gets rid of this problem.
      2. Make sure the eval losses have the same name.
      
      PiperOrigin-RevId: 189434618
      
      * Minor fixes to make object detection tf 1.4 compatible.
      
      PiperOrigin-RevId: 189437519
      
      * Call the base of mobilenet_v1 feature extractor under the right arg scope and set batchnorm is_training based on the value passed in the constructor.
      
      PiperOrigin-RevId: 189460890
      
      * Automated g4 rollback of changelist 188409792
      
      PiperOrigin-RevId: 189463882
      
      * Update object detection syncing.
      
      PiperOrigin-RevId: 189601955
      
      * Add an option to warmup learning rate, hold it constant for a certain number of steps and cosine decay it.
      
      PiperOrigin-RevId: 189606169
      
      * Let the proposal feature extractor function in faster_rcnn meta architectures return the activations (end_points).
      
      PiperOrigin-RevId: 189619301
      
      * Fixed bug which caused masks to be mostly zeros (caused by detection_boxes being in absolute coordinates if scale_to_absolute=True.
      
      PiperOrigin-RevId: 189641294
      
      * Open sourcing Mobilenetv2 + SSDLite.
      
      PiperOrigin-RevId: 189654520
      
      * Remove unused files.
      001a2a61
    • cclauss's avatar
      cd850550
    • Smit Shilu's avatar
      Update mobilenet_v1.md · 3f3dd4e1
      Smit Shilu authored
      Filename was wrong
      3f3dd4e1
  21. 13 Mar, 2018 1 commit
    • Mark Sandler's avatar
      Pulling internal changes to github (#3583) · 376dc8dd
      Mark Sandler authored
      * Internal change.
      
      PiperOrigin-RevId: 187042423
      
      * Internal change.
      
      PiperOrigin-RevId: 187072380
      
      * Opensource float and eight-bit fixed-point mobilenet_v1 training and eval scripts.
      
      PiperOrigin-RevId: 187106140
      
      * Initial check-in for Mobilenet V2
      
      PiperOrigin-RevId: 187213595
      
      * Allow configuring batch normalization decay and epsilon in MobileNet v1
      
      PiperOrigin-RevId: 187425294
      
      * Allow overriding NASNet model HParams.
      
      This is a change to the API that will allow users to pass in their own configs
      to the building functions, which should make these APIs much more customizable
      for end-user cases.
      
      This change removes the use_aux_head argument from the model construction
      functions, which is no longer necessary given that the use_aux_head option is
      configurable in the model config. For example, for the mobile ImageNet model,
      the auxiliary head can be disabled using:
      
      config = nasnet.mobile_imagenet_config()
      config.set_hparam('use_aux_head', 0)
      logits, endpoints = nasnet.build_nasnet_mobile(
          inputs, num_classes, config=config)
      PiperOrigin-RevId: 188617685
      
      * Automated g4 rollback of changelist 188617685
      
      PiperOrigin-RevId: 188619139
      
      * Removes spurious comment
      376dc8dd
  22. 05 Mar, 2018 1 commit
  23. 27 Feb, 2018 3 commits
    • pkulzc's avatar
      Internal changes for slim (#3448) · 629adffa
      pkulzc authored
      * Merged commit includes the following changes:
      186565198  by Sergio Guadarrama:
      
          Applied random_hsv_in_yiq in inception_preprocessing.
      
      --
      186501039  by Sergio Guadarrama:
      
          Applied random_hsv_in_yiq in inception_preprocessing.
      
      --
      186013907  by Sergio Guadarrama:
      
          Internal change
      
      185715309  by Sergio Guadarrama:
      
          Obviates the need for prepadding on mobilenet v1 and v2 for fully convolutional models.
      
      --
      184266252  by Sergio Guadarrama:
      
          Give build_nasnet_*() functions an optional flag use_aux_head,
          and add an internal-only arg scope to NasNetA*Cell._apply_drop_path().
      
      --
      183865228  by Sergio Guadarrama:
      
          Internal change
      
      179580924  by Sergio Guadarrama:
      
          Internal change
      
      177320302  by Sergio Guadarrama:
      
          Internal change
      
      177130184  by Sergio Guadarrama:
      
          Make slim nets tests faster by using smaller examples of oversized inputs.
      
      --
      176965289  by Sergio Guadarrama:
      
          Internal change
      
      176585260  by Sergio Guadarrama:
      
          Internal change
      
      176534973  by Sergio Guadarrama:
      
          Internal change
      
      175526881  by Sergio Guadarrama:
      
          Internal change
      
      174967704  by Sergio Guadarrama:
      
          Treat num_classes=0 same as None in a few slim nets overlooked by the recent
          change.
      
      --
      174443227  by Sergio Guadarrama:
      
          Internal change
      
      174281864  by Sergio Guadarrama:
      
          Internal change
      
      174249903  by Sergio Guadarrama:
      
          Fix nasnet image classification and object detection by moving the option to turn ON or OFF batch norm training into it's own arg_scope used only by detection
      
      --
      173954505  by Sergio Guadarrama:
      
          Merge pull request #2651 from sguada/tmp1
      
          Fixes imports
      
          Closes #2636
      
          ORIGINAL_AUTHOR=Jon Shlens <shlens@users.noreply.github.com>
          COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/models/pull/2636 from tensorflow:sguada-patch-1 19ff570f52df5ab655c00fb439129b201c5f2dce
      
      --
      173928094  by Sergio Guadarrama:
      
          Remove pending imports
      
      --
      
      PiperOrigin-RevId: 186565198
      
      * Remove internal links.
      629adffa
    • Suharsh Sivakumar's avatar
      fix bullets · 36f80329
      Suharsh Sivakumar authored
      36f80329
    • Suharsh Sivakumar's avatar
      2662da2c
  24. 26 Feb, 2018 1 commit
  25. 20 Jan, 2018 1 commit
  26. 21 Nov, 2017 2 commits
  27. 20 Nov, 2017 2 commits
  28. 15 Nov, 2017 1 commit
  29. 02 Nov, 2017 1 commit
  30. 30 Oct, 2017 4 commits