1. 23 May, 2019 2 commits
    • Hongjun Choi's avatar
      Merged commit includes the following changes: (#6863) · f06b5716
      Hongjun Choi authored
      249580533  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      249566870  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Set up BERT benchmark test.
      
      --
      
      PiperOrigin-RevId: 249580533
      f06b5716
    • rxsang's avatar
      Add enable_get_next_as_optional flag. (#6858) · 272a2baa
      rxsang authored
      * Add enable_get_next_as_optional flag.
      
      * Set enable_get_next_as_optional to strategy.
      
      * Add comments to explain the flag.
      
      * Remove trailing whitespace.
      
      * Remove trailing space.
      272a2baa
  2. 22 May, 2019 8 commits
    • Toby Boyd's avatar
      fix lint issues. (#6855) · 3a97b68c
      Toby Boyd authored
      3a97b68c
    • saberkun's avatar
      Merged commit includes the following changes: (#6856) · 85bdf764
      saberkun authored
      249500988  by hongkuny<hongkuny@google.com>:
      
          Lints
      
      --
      
      PiperOrigin-RevId: 249500988
      85bdf764
    • Toby Boyd's avatar
      Add Transformer Big Benchmarks + FP16 for other tests. (#6838) · 23f75313
      Toby Boyd authored
      * Add big tests.
      
      * fix super
      
      * Add fp16, increase 8xGPU batch-sizes
      
      * Adding the rest of the fp16 tests.
      
      * Big accuracy test batch_perf_gpu
      
      * fix docstrings
      
      * add _run_and_report
      
      * Edited docstrings
      23f75313
    • Zhuoran Liu's avatar
      Add TPU SavedModel exporter and refactor OD code (#6737) · 80444539
      Zhuoran Liu authored
      247226201  by ronnyvotel:
      
          Updating the visualization tools to accept unique_ids for color coding.
      
      --
      247067830  by Zhichao Lu:
      
          Add box_encodings_clip_range options for the convolutional box predictor (for TPU compatibility).
      
      --
      246888475  by Zhichao Lu:
      
          Remove unused _update_eval_steps function.
      
      --
      246163259  by lzc:
      
          Add a gather op that can handle ignore indices (which are "-1"s in this case).
      
      --
      246084944  by Zhichao Lu:
      
          Keras based implementation for SSD + MobilenetV2 + FPN.
      
      --
      245544227  by rathodv:
      
          Add batch_get_targets method to target assigner module to gather any groundtruth tensors based on the results of target assigner.
      
      --
      245540854  by rathodv:
      
          Update target assigner to return match tensor instead of a match object.
      
      --
      245434441  by Zhichao Lu:
      
          Add README for tpu_exporters package.
      
      --
      245381834  by lzc:
      
          Internal change.
      
      --
      245298983  by Zhichao Lu:
      
          Add conditional_shape_resizer to config_util
      
      --
      245134666  by Zhichao Lu:
      
          Adds ConditionalShapeResizer to the ImageResizer proto which enables resizing only if input image height or width is is greater or smaller than a certain size. Also enables specification of resize method in resize_to_{max, min}_dimension methods.
      
      --
      245093975  by Zhichao Lu:
      
          Exporting SavedModel for Object Detection TPU inference. (faster-rcnn)
      
      --
      245072421  by Zhichao Lu:
      
          Adds a new image resizing method "resize_to_max_dimension" which resizes images only if a dimension is greater than the maximum desired value while maintaining aspect ratio.
      
      --
      244946998  by lzc:
      
          Internal Changes.
      
      --
      244943693  by Zhichao Lu:
      
          Add a custom config to mobilenet v2 that makes it more detection friendly.
      
      --
      244754158  by derekjchow:
      
          Internal change.
      
      --
      244699875  by Zhichao Lu:
      
          Add check_range=False to box_list_ops.to_normalized_coordinates when training
          for instance segmentation.  This is consistent with other calls when training
          for object detection.  There could be wrongly annotated boxes in the dataset.
      
      --
      244507425  by rathodv:
      
          Support bfloat16 for ssd models.
      
      --
      244399982  by Zhichao Lu:
      
          Exporting SavedModel for Object Detection TPU inference. (ssd)
      
      --
      244209387  by Zhichao Lu:
      
          Internal change.
      
      --
      243922296  by rathodv:
      
          Change `raw_detection_scores` to contain softmax/sigmoid scores (not logits) for `raw_ detection_boxes`.
      
      --
      243883978  by Zhichao Lu:
      
          Add a sample fully conv config.
      
      --
      243369455  by Zhichao Lu:
      
          Fix regularization loss gap in Keras and Slim.
      
      --
      243292002  by lzc:
      
          Internal changes.
      
      --
      243097958  by Zhichao Lu:
      
          Exporting SavedModel for Object Detection TPU inference. (ssd model)
      
      --
      243007177  by Zhichao Lu:
      
          Exporting SavedModel for Object Detection TPU inference. (ssd model)
      
      --
      242776550  by Zhichao Lu:
      
          Make object detection pre-processing run on GPU.  tf.map_fn() uses
          TensorArrayV3 ops, which have no int32 GPU implementation.  Cast to int64,
          then cast back to int32.
      
      --
      242723128  by Zhichao Lu:
      
          Using sorted dictionaries for additional heads in non_max_suppression to ensure tensor order
      
      --
      242495311  by Zhichao Lu:
      
          Update documentation to reflect new TFLite examples repo location
      
      --
      242230527  by Zhichao Lu:
      
          Fix Dropout bugs for WeightSharedConvolutionalBoxPred.
      
      --
      242226573  by Zhichao Lu:
      
          Create Keras-based WeightSharedConvolutionalBoxPredictor.
      
      --
      241806074  by Zhichao Lu:
      
          Add inference in unit tests of TFX OD template.
      
      --
      241641498  by lzc:
      
          Internal change.
      
      --
      241637481  by Zhichao Lu:
      
          matmul_crop_and_resize(): Switch to dynamic shaping, so that not all dimensions are required to be known.
      
      --
      241429980  by Zhichao Lu:
      
          Internal change
      
      --
      241167237  by Zhichao Lu:
      
          Adds a faster_rcnn_inception_resnet_v2 Keras feature extractor, and updates the model builder to construct it.
      
      --
      241088616  by Zhichao Lu:
      
          Make it compatible with different dtype, e.g. float32, bfloat16, etc.
      
      --
      240897364  by lzc:
      
          Use image_np_expanded in object_detection_tutorial notebook.
      
      --
      240890393  by Zhichao Lu:
      
          Disable multicore inference for OD template as its not yet compatible.
      
      --
      240352168  by Zhichao Lu:
      
          Make SSDResnetV1FpnFeatureExtractor not protected to allow inheritance.
      
      --
      240351470  by lzc:
      
          Internal change.
      
      --
      239878928  by Zhichao Lu:
      
          Defines Keras box predictors for Faster RCNN and RFCN
      
      --
      239872103  by Zhichao Lu:
      
          Delete duplicated inputs in test.
      
      --
      239714273  by Zhichao Lu:
      
          Adding scope variable to all class heads
      
      --
      239698643  by Zhichao Lu:
      
          Create FPN feature extractor for object detection.
      
      --
      239696657  by Zhichao Lu:
      
          Internal Change.
      
      --
      239299404  by Zhichao Lu:
      
          Allows the faster rcnn meta-architecture to support Keras subcomponents
      
      --
      238502595  by Zhichao Lu:
      
          Lay the groundwork for symmetric quantization.
      
      --
      238496885  by Zhichao Lu:
      
          Add flexible_grid_anchor_generator
      
      --
      238138727  by lzc:
      
          Remove dead code.
      
          _USE_C_SHAPES has been forced True in TensorFlow releases since
          TensorFlow 1.9
          (https://github.com/tensorflow/tensorflow/commit/1d74a69443f741e69f9f52cb6bc2940b4d4ae3b7)
      
      --
      238123936  by rathodv:
      
          Add num_matched_groundtruth summary to target assigner in SSD.
      
      --
      238103345  by ronnyvotel:
      
          Raising error if input file pattern does not match any files.
          Also printing the number of evaluation images for coco metrics.
      
      --
      238044081  by Zhichao Lu:
      
          Fix docstring to state the correct dimensionality of `class_predictions_with_background`.
      
      --
      237920279  by Zhichao Lu:
      
          [XLA] Rework debug flags for dumping HLO.
      
          The following flags (usually passed via the XLA_FLAGS envvar) are removed:
      
            xla_dump_computations_to
            xla_dump_executions_to
            xla_dump_ir_to
            xla_dump_optimized_hlo_proto_to
            xla_dump_per_pass_hlo_proto_to
            xla_dump_unoptimized_hlo_proto_to
            xla_generate_hlo_graph
            xla_generate_hlo_text_to
            xla_hlo_dump_as_html
            xla_hlo_graph_path
            xla_log_hlo_text
      
          The following new flags are added:
      
            xla_dump_to
            xla_dump_hlo_module_re
            xla_dump_hlo_pass_re
            xla_dump_hlo_as_text
            xla_dump_hlo_as_proto
            xla_dump_hlo_as_dot
            xla_dump_hlo_as_url
            xla_dump_hlo_as_html
            xla_dump_ir
            xla_dump_hlo_snapshots
      
          The default is not to dump anything at all, but as soon as some dumping flag is
          specified, we enable the following defaults (most of which can be overridden).
      
           * dump to stdout (overridden by --xla_dump_to)
           * dump HLO modules at the very beginning and end of the optimization pipeline
           * don't dump between any HLO passes (overridden by --xla_dump_hlo_pass_re)
           * dump all HLO modules (overridden by --xla_dump_hlo_module_re)
           * dump in textual format (overridden by
             --xla_dump_hlo_as_{text,proto,dot,url,html}).
      
          For example, to dump optimized and unoptimized HLO text and protos to /tmp/foo,
          pass
      
            --xla_dump_to=/tmp/foo --xla_dump_hlo_as_text --xla_dump_hlo_as_proto
      
          For details on these flags' meanings, see xla.proto.
      
          The intent of this change is to make dumping both simpler to use and more
          powerful.
      
          For example:
      
           * Previously there was no way to dump the HLO module during the pass pipeline
             in HLO text format; the only option was --dump_per_pass_hlo_proto_to, which
             dumped in proto format.
      
             Now this is --xla_dump_pass_re=.* --xla_dump_hlo_as_text.  (In fact, the
             second flag is not necessary in this case, as dumping as text is the
             default.)
      
           * Previously there was no way to dump HLO as a graph before and after
             compilation; the only option was --xla_generate_hlo_graph, which would dump
             before/after every pass.
      
             Now this is --xla_dump_hlo_as_{dot,url,html} (depending on what format you
             want the graph in).
      
           * Previously, there was no coordination between the filenames written by the
             various flags, so info about one module might be dumped with various
             filename prefixes.  Now the filenames are consistent and all dumps from a
             particular module are next to each other.
      
          If you only specify some of these flags, we try to figure out what you wanted.
          For example:
      
           * --xla_dump_to implies --xla_dump_hlo_as_text unless you specify some
             other --xla_dump_as_* flag.
      
           * --xla_dump_hlo_as_text or --xla_dump_ir implies dumping to stdout unless you
             specify a different --xla_dump_to directory.  You can explicitly dump to
             stdout with --xla_dump_to=-.
      
          As part of this change, I simplified the debugging code in the HLO passes for
          dumping HLO modules.  Previously, many tests explicitly VLOG'ed the HLO module
          before, after, and sometimes during the pass.  I removed these VLOGs.  If you
          want dumps before/during/after an HLO pass, use --xla_dump_pass_re=<pass_name>.
      
      --
      237510043  by lzc:
      
          Internal Change.
      
      --
      237469515  by Zhichao Lu:
      
          Parameterize model_builder.build in inputs.py.
      
      --
      237293511  by rathodv:
      
          Remove multiclass_scores from tensor_dict in transform_data_fn always.
      
      --
      237260333  by ronnyvotel:
      
          Updating faster_rcnn_meta_arch to define prediction dictionary fields that are batched.
      
      --
      
      PiperOrigin-RevId: 247226201
      80444539
    • Tian Lin's avatar
      Merge Transformer V2 to Github (#6846) · c4f34e58
      Tian Lin authored
      * Merged commit includes the following changes:
      249218656  by tianlin<tianlin@google.com>:
      
          Deal with imports, fix a typo and make unit tests fast.
      
      --
      249198645  by tianlin<tianlin@google.com>:
      
          Trivial: Remove one empty line before "import tensorflow"
      
      --
      249195490  by tianlin<tianlin@google.com>:
      
          Initialize Transformer TF V2 Model with Keras subclassing implementation. (Compatible with TF V1)
      
      --
      249195008  by tianlin<tianlin@google.com>:
      
          Internal change
      
      249173564  by hongkuny<hongkuny@google.com>:
      
          Internal change
      
      249079258  by hongkuny<hongkuny@google.com>:
      
          Internal change
      
      247691534  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      247533725  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      247509295  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      247311355  by wangtz<wangtz@google.com>:
      
          Internal change
      
      247303127  by wangtz<wangtz@google.com>:
      
          Minor changes
      
      --
      247277315  by wangtz<wangtz@google.com>:
      
          Internal change
      
      247143663  by wangtz<wangtz@google.com>:
      
          Internal change
      
      247129668  by wangtz<wangtz@google.com>:
      
          Internal change
      
      --
      247110547  by wangtz<wangtz@google.com>:
      
          Internal change
      
      247016722  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      246677582  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      245821839  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      245353681  by gjn<gjn@google.com>:
      
          Internal change
      
      245340898  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      245291749  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      245155641  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      244962751  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      244395199  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      244098932  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      244019160  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      242965373  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      242930998  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      242914617  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      242510000  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      242183356  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      242049350  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      241749800  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      241663771  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      241416315  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      241054800  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      241028555  by yuefengz<yuefengz@google.com>:
      
          Internal change
      
      240683076  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      240404735  by yuefengz<yuefengz@google.com>:
      
          Internal change
      
      239892001  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      239316550  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      238316437  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      238251867  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      237876559  by taylorrobie<taylorrobie@google.com>:
      
          Internal change
      
      236346619  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      236182665  by tayo<tayo@google.com>:
      
          Internal change
      
      235035787  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      234652747  by wangtz<wangtz@google.com>:
      
          Internal change
      
      234606543  by wangtz<wangtz@google.com>:
      
          Internal change
      
      233837502  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      232033015  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      232028127  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      232026986  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      232024086  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      229839087  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      229794563  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      229204024  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      228956426  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      228610870  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      228586727  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      228564809  by taylorrobie<taylorrobie@google.com>:
      
          Internal change
      
      227080093  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      227052580  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      226217872  by gsundeep<gsundeep@google.com>:
      
          Internal change
      
      225436264  by shiningsun<shiningsun@google.com>:
      
          Internal change
      
      222283824  by taylorrobie<taylorrobie@google.com>:
      
          Internal change
      
      219719958  by taylorrobie<taylorrobie@google.com>:
      
          Internal change
      
      219330498  by taylorrobie<taylorrobie@google.com>:
      
          Internal change
      
      219241224  by taylorrobie<taylorrobie@google.com>:
      
          Internal change
      
      218774474  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      218610966  by taylorrobie<taylorrobie@google.com>:
      
          Internal change
      
      218576353  by taylorrobie<taylorrobie@google.com>:
      
          Internal change
      
      217815929  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      217776707  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      217749789  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      217029365  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      216803510  by taylorrobie<taylorrobie@google.com>:
      
          Internal change
      
      216570979  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      215640939  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      214516790  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      212485310  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      212339556  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      210935187  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      210658133  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      207194426  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      206963562  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      206866123  by taylorrobie<taylorrobie@google.com>:
      
          Internal change
      
      206631416  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      206180517  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      206170536  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      205252141  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      204191308  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      202519641  by scottzhu<scottzhu@google.com>:
      
          Internal change
      
      201577585  by scottzhu<scottzhu@google.com>:
      
          Internal change
      
      201299684  by kathywu<kathywu@google.com>:
      
          Internal change
      
      199825697  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      199655516  by karmel<karmel@google.com>:
      
          Internal change
      
      199654555  by karmel<karmel@google.com>:
      
          Internal change
      
      199653009  by karmel<karmel@google.com>:
      
          Internal change
      
      199209802  by karmel<karmel@google.com>:
      
          Internal change
      
      198089630  by karmel<karmel@google.com>:
      
          Internal change
      
      198064765  by karmel<karmel@google.com>:
          Automated rollback of changelist 197740116.
      
      198060863  by karmel<karmel@google.com>:
          Automated rollback of changelist 197920496.
      
      197920496  by kathywu<kathywu@google.com>:
      
          Internal change
      
      197841416  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      197740116  by kathywu<kathywu@google.com>:
      
          Internal change
      
      196608994  by karmel<karmel@google.com>:
      
          Internal change
      
      196172336  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      195867348  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      195725348  by taylorrobie<taylorrobie@google.com>:
      
          Internal change
      
      195283704  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      194960508  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      194662698  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      194103064  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      193735742  by saeta<saeta@google.com>:
      
          Support legacy clusters
      
      --
      193581866  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      193567921  by taylorrobie<taylorrobie@google.com>:
      
          Internal change
      
      193072964  by taylorrobie<taylorrobie@google.com>:
      
          Internal change
      
      192783651  by scottzhu<scottzhu@google.com>:
          Automated rollback of changelist 192714881.
      
      192714881  by scottzhu<scottzhu@google.com>:
          Automated rollback of changelist 192710755.
      
      192710755  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      192374551  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      192346754  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      192298443  by karmel<karmel@google.com>:
      
          Internal change
      
      192220576  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      191937900  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      191909212  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      191602380  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      191514106  by scottzhu<scottzhu@google.com>:
      
          Internal change
      
      191355033  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      191327699  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      190938103  by karmel<karmel@google.com>:
      
          Internal change
      
      190804388  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      190780502  by karmel<karmel@google.com>:
      
          Internal change
      
      190479716  by karmel<karmel@google.com>:
      
          Internal change
      
      190289991  by karmel<karmel@google.com>:
      
          Internal change
      
      189844661  by scottzhu<scottzhu@google.com>:
          Automated rollback of changelist 189816818.
      
      189816818  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      189796731  by kathywu<kathywu@google.com>:
      
          Internal change
      
      189639056  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      189628781  by karmel<karmel@google.com>:
      
          Internal change
      
      189267175  by karmel<karmel@google.com>:
      
          Internal change
      
      189222334  by karmel<karmel@google.com>:
      
          Internal change
      
      189096159  by karmel<karmel@google.com>:
      
          Internal change
      
      189085341  by karmel<karmel@google.com>:
      
          Internal change
      
      188949700  by karmel<karmel@google.com>:
      
          Internal change
      
      188780170  by karmel<karmel@google.com>:
      
          Internal change
      
      188525399  by karmel<karmel@google.com>:
      
          Internal change
      
      188189681  by karmel<karmel@google.com>:
      
          Internal change
      
      188076840  by wun<wun@google.com>:
      
          Internal change
      
      188074937  by wun<wun@google.com>:
      
          Internal change
      
      187764140  by wun<wun@google.com>:
      
          Internal change
      
      187663993  by wun<wun@google.com>:
      
          Internal change
      
      187651035  by karmel<karmel@google.com>:
      
          Internal change
      
      187415223  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      187047094  by saeta<saeta@google.com>:
      
          Integrate ClusterResolvers with TPUEstimator.
      
      --
      186843813  by karmel<karmel@google.com>:
      
          Internal change
      
      186843458  by karmel<karmel@google.com>:
      
          Internal change
      
      186348279  by karmel<karmel@google.com>:
      
          Internal change
      
      186323602  by ashankar<ashankar@google.com>:
      
          Internal change
      
      185051452  by wun<wun@google.com>:
      
          Internal change
      
      185039308  by wun<wun@google.com>:
      
          Internal change
      
      184934877  by wun<wun@google.com>:
      
          Internal change
      
      184876413  by wun<wun@google.com>:
      
          Internal change
      
      184868771  by wun<wun@google.com>:
      
          Internal change
      
      184751017  by wun<wun@google.com>:
      
          Internal change
      
      184743769  by wun<wun@google.com>:
      
          Internal change
      
      183894402  by frankchn<frankchn@google.com>:
      
          Internal change
      
      183863555  by frankchn<frankchn@google.com>:
      
          Internal change
      
      183249343  by karmel<karmel@google.com>:
      
          Internal change
      
      183099733  by wun<wun@google.com>:
      
          Internal change
      
      182981253  by wun<wun@google.com>:
      
          Internal change
      
      182977703  by wun<wun@google.com>:
      
          Internal change
      
      182414330  by ashankar<ashankar@google.com>:
      
          Internal change
      
      182069924  by wun<wun@google.com>:
      
          Internal change
      
      181544879  by ashankar<ashankar@google.com>:
      
          Internal change
      
      180618064  by ashankar<ashankar@google.com>:
      
          Internal change
      
      180591779  by ashankar<ashankar@google.com>:
      
          Internal change
      
      179724765  by kathywu<kathywu@google.com>:
      
          Internal change
      
      179713599  by kathywu<kathywu@google.com>:
      
          Internal change
      
      179110125  by wun<wun@google.com>:
      
          Internal change
      
      178793339  by kathywu<kathywu@google.com>:
      
          Internal change
      
      176581733  by wun<wun@google.com>:
      
          Internal change
      
      175220569  by wun<wun@google.com>:
      
          Internal change
      
      175183195  by wun<wun@google.com>:
      
          Internal change
      
      175171381  by wun<wun@google.com>:
      
          Internal change
      
      175036833  by wun<wun@google.com>:
      
          Internal change
      
      175031858  by wun<wun@google.com>:
      
          Internal change
      
      174891336  by wun<wun@google.com>:
      
          Internal change
      
      174881248  by kathywu<kathywu@google.com>:
      
          Internal change
      
      174766157  by wun<wun@google.com>:
      
          Internal change
      
      173723629  by wun<wun@google.com>:
      
          Internal change
      
      173579695  by wun<wun@google.com>:
      
          Internal change
      
      173443901  by wun<wun@google.com>:
      
          Internal change
      
      173340656  by wun<wun@google.com>:
      
          Internal change
      
      172954249  by wun<wun@google.com>:
      
          Internal change
      
      172926654  by wun<wun@google.com>:
      
          Internal change
      
      172922540  by wun<wun@google.com>:
      
          Internal change
      
      172921684  by kathywu<kathywu@google.com>:
      
          Internal change
      
      170943723  by wun<wun@google.com>:
      
          Internal change
      
      170927898  by wun<wun@google.com>:
      
          Internal change
      
      170430173  by wun<wun@google.com>:
      
          Internal change
      
      170428312  by wun<wun@google.com>:
      
          Internal change
      
      PiperOrigin-RevId: 249218656
      
      * Revert "Merged commit includes the following changes:"
      
      This reverts commit e30d805d3770d7473166dcca1ecb6050dc5de47a.
      
      * Merged commit includes the following changes:
      
      PiperOrigin-RevId: 249232280
      
      * Merged commit includes the following changes:
      249376444  by tianlin<tianlin@google.com>:
      
          Internal change
      
      249373328  by hongkuny<hongkuny@google.com>:
      
          Clean up tf import
      
      --
      249340512  by hongkuny<hongkuny@google.com>:
      
          Internal change
      
      249325089  by hongkuny<hongkuny@google.com>:
      
          BERT 2.0
      
      --
      249260134  by tianlin<tianlin@google.com>:
      
          Internal change
      
      PiperOrigin-RevId: 249376444
      
      * Fixed absl_app in official/mnist/mnist_tpu.py
      
      * Make metrics in order (switch from dict to list of tuples).
      
      * Revert ResNet Model to an earlier version.
      
      * Fix lint format.
      
      * Disable two tests in v2.
      c4f34e58
    • Haoyu Zhang's avatar
    • tjakob's avatar
      Use new tensorrt API (#6828) · d11d9845
      tjakob authored
      d11d9845
    • saberkun's avatar
      Merged commit includes the following changes: (#6847) · 30d14a96
      saberkun authored
      249377254  by hongkuny<hongkuny@google.com>:
      
          Internal change
      
      249373328  by hongkuny<hongkuny@google.com>:
      
          Clean up tf import
      
      --
      249333938  by hongkuny<hongkuny@google.com>:
      
          Fix tf1 import
      
      --
      249325089  by hongkuny<hongkuny@google.com>:
      
          BERT 2.0
      
      --
      249173564  by hongkuny<hongkuny@google.com>:
      
          Internal change
      
      PiperOrigin-RevId: 249377254
      30d14a96
  3. 21 May, 2019 5 commits
    • Haoyu Zhang's avatar
    • André Araujo's avatar
      Small edits to DELF markdown instructions (#6839) · 76256146
      André Araujo authored
      * Initial feature aggregation code for Detect-to-Retrieve paper.
      
      PiperOrigin-RevId: 246043144
      
      * Add support for ASMK/ASMK*/R-ASMK/R-ASMK*.
      
      PiperOrigin-RevId: 247337028
      
      * Add DatumProto uint32 field, and limit datum_io to uint32 and float32/float64 types.
      
      Also, introduce DatumPairProto, to be used for ASMK variants. Functions to read/write in this new format are added and tested.
      
      PiperOrigin-RevId: 247515205
      
      * Add batching option to feature aggregation extraction.
      
      PiperOrigin-RevId: 247614627
      
      * Script to perform local feature aggregation, with associated configs.
      
      Also small edits to the aggregation extractor, for better handling of input features / avoiding OOM.
      
      PiperOrigin-RevId: 248150750
      
      * Tests to check that aggregation using regions with no local features works.
      
      PiperOrigin-RevId: 248153275
      
      * Include new library/proto for aggregation
      
      * Merged commit includes the following changes:
      
      PiperOrigin-RevId: 248176511
      
      * Merged commit includes the following changes:
      248194572  by Andre Araujo:
      
          Change tf.tensor_scatter_nd_add --> tf.compat.v1.tensor_scatter_add to make it compatible with TF 1.X.
      
      --
      
      PiperOrigin-RevId: 248194572
      
      * Functions to parse ground-truth and compute metrics for revisited datasets.
      
      Unit tests are added.
      
      PiperOrigin-RevId: 248561575
      
      * Small change to argparse bool option, which does not work as expected.
      
      PiperOrigin-RevId: 248805505
      
      * Class to compute similarity between aggregated descriptors.
      
      PiperOrigin-RevId: 249102986
      
      * Script to perform retrieval and compute metrics.
      
      PiperOrigin-RevId: 249104011
      
      * feature_aggregation_similarity library in DELF init
      
      * D2R instructions / README update
      
      * Small edit to README
      
      * Internal change.
      
      PiperOrigin-RevId: 249113531
      
      * Instructions to reproduce D2R paper results, and small edits to config files.
      
      PiperOrigin-RevId: 249159850
      
      * Revert "Internal change."
      
      This reverts commit 0529f2b8471a20c88f1fbb37367f142965d098ee.
      
      Undoing incorrect markdown deletion.
      
      * Small updates to markdown instructions
      
      * Small updates to markdown instructions 2
      76256146
    • Toby Boyd's avatar
      b73977ee
    • André Araujo's avatar
      Undo Detect-to-Retrieve markdown deletion (#6831) · 5ec581ae
      André Araujo authored
      * Initial feature aggregation code for Detect-to-Retrieve paper.
      
      PiperOrigin-RevId: 246043144
      
      * Add support for ASMK/ASMK*/R-ASMK/R-ASMK*.
      
      PiperOrigin-RevId: 247337028
      
      * Add DatumProto uint32 field, and limit datum_io to uint32 and float32/float64 types.
      
      Also, introduce DatumPairProto, to be used for ASMK variants. Functions to read/write in this new format are added and tested.
      
      PiperOrigin-RevId: 247515205
      
      * Add batching option to feature aggregation extraction.
      
      PiperOrigin-RevId: 247614627
      
      * Script to perform local feature aggregation, with associated configs.
      
      Also small edits to the aggregation extractor, for better handling of input features / avoiding OOM.
      
      PiperOrigin-RevId: 248150750
      
      * Tests to check that aggregation using regions with no local features works.
      
      PiperOrigin-RevId: 248153275
      
      * Include new library/proto for aggregation
      
      * Merged commit includes the following changes:
      
      PiperOrigin-RevId: 248176511
      
      * Merged commit includes the following changes:
      248194572  by Andre Araujo:
      
          Change tf.tensor_scatter_nd_add --> tf.compat.v1.tensor_scatter_add to make it compatible with TF 1.X.
      
      --
      
      PiperOrigin-RevId: 248194572
      
      * Functions to parse ground-truth and compute metrics for revisited datasets.
      
      Unit tests are added.
      
      PiperOrigin-RevId: 248561575
      
      * Small change to argparse bool option, which does not work as expected.
      
      PiperOrigin-RevId: 248805505
      
      * Class to compute similarity between aggregated descriptors.
      
      PiperOrigin-RevId: 249102986
      
      * Script to perform retrieval and compute metrics.
      
      PiperOrigin-RevId: 249104011
      
      * feature_aggregation_similarity library in DELF init
      
      * D2R instructions / README update
      
      * Small edit to README
      
      * Internal change.
      
      PiperOrigin-RevId: 249113531
      
      * Instructions to reproduce D2R paper results, and small edits to config files.
      
      PiperOrigin-RevId: 249159850
      
      * Revert "Internal change."
      
      This reverts commit 0529f2b8471a20c88f1fbb37367f142965d098ee.
      
      Undoing incorrect markdown deletion.
      5ec581ae
    • André Araujo's avatar
      Code for Detect-to-Retrieve fully integrated (#6829) · 9062d200
      André Araujo authored
      * Initial feature aggregation code for Detect-to-Retrieve paper.
      
      PiperOrigin-RevId: 246043144
      
      * Add support for ASMK/ASMK*/R-ASMK/R-ASMK*.
      
      PiperOrigin-RevId: 247337028
      
      * Add DatumProto uint32 field, and limit datum_io to uint32 and float32/float64 types.
      
      Also, introduce DatumPairProto, to be used for ASMK variants. Functions to read/write in this new format are added and tested.
      
      PiperOrigin-RevId: 247515205
      
      * Add batching option to feature aggregation extraction.
      
      PiperOrigin-RevId: 247614627
      
      * Script to perform local feature aggregation, with associated configs.
      
      Also small edits to the aggregation extractor, for better handling of input features / avoiding OOM.
      
      PiperOrigin-RevId: 248150750
      
      * Tests to check that aggregation using regions with no local features works.
      
      PiperOrigin-RevId: 248153275
      
      * Include new library/proto for aggregation
      
      * Merged commit includes the following changes:
      
      PiperOrigin-RevId: 248176511
      
      * Merged commit includes the following changes:
      248194572  by Andre Araujo:
      
          Change tf.tensor_scatter_nd_add --> tf.compat.v1.tensor_scatter_add to make it compatible with TF 1.X.
      
      --
      
      PiperOrigin-RevId: 248194572
      
      * Functions to parse ground-truth and compute metrics for revisited datasets.
      
      Unit tests are added.
      
      PiperOrigin-RevId: 248561575
      
      * Small change to argparse bool option, which does not work as expected.
      
      PiperOrigin-RevId: 248805505
      
      * Class to compute similarity between aggregated descriptors.
      
      PiperOrigin-RevId: 249102986
      
      * Script to perform retrieval and compute metrics.
      
      PiperOrigin-RevId: 249104011
      
      * feature_aggregation_similarity library in DELF init
      
      * D2R instructions / README update
      
      * Small edit to README
      
      * Internal change.
      
      PiperOrigin-RevId: 249113531
      
      * Instructions to reproduce D2R paper results, and small edits to config files.
      
      PiperOrigin-RevId: 249159850
      9062d200
  4. 20 May, 2019 1 commit
  5. 18 May, 2019 2 commits
  6. 16 May, 2019 2 commits
  7. 15 May, 2019 3 commits
  8. 14 May, 2019 3 commits
    • derekjchow's avatar
      Move config to the right place. (#6782) · aecf5d02
      derekjchow authored
      aecf5d02
    • André Araujo's avatar
      DELF feature aggregation extraction: VLAD, ASMK, ASMK* (#6780) · a27bad9b
      André Araujo authored
      * Initial feature aggregation code for Detect-to-Retrieve paper.
      
      PiperOrigin-RevId: 246043144
      
      * Add support for ASMK/ASMK*/R-ASMK/R-ASMK*.
      
      PiperOrigin-RevId: 247337028
      
      * Add DatumProto uint32 field, and limit datum_io to uint32 and float32/float64 types.
      
      Also, introduce DatumPairProto, to be used for ASMK variants. Functions to read/write in this new format are added and tested.
      
      PiperOrigin-RevId: 247515205
      
      * Add batching option to feature aggregation extraction.
      
      PiperOrigin-RevId: 247614627
      
      * Script to perform local feature aggregation, with associated configs.
      
      Also small edits to the aggregation extractor, for better handling of input features / avoiding OOM.
      
      PiperOrigin-RevId: 248150750
      
      * Tests to check that aggregation using regions with no local features works.
      
      PiperOrigin-RevId: 248153275
      
      * Include new library/proto for aggregation
      
      * Merged commit includes the following changes:
      
      PiperOrigin-RevId: 248176511
      
      * Merged commit includes the following changes:
      248194572  by Andre Araujo:
      
          Change tf.tensor_scatter_nd_add --> tf.compat.v1.tensor_scatter_add to make it compatible with TF 1.X.
      
      --
      
      PiperOrigin-RevId: 248194572
      a27bad9b
    • achowdhery's avatar
      Create... · 8d97814e
      achowdhery authored
      Create ssd_mobilenet_v2_fpnlite_quantized_shared_box_predictor_256x256_depthmultiplier_75_coco14_sync.config (#6775)
      
      Add config for FPNLite quantized model
      8d97814e
  9. 11 May, 2019 2 commits
  10. 10 May, 2019 5 commits
  11. 09 May, 2019 2 commits
    • Toby Boyd's avatar
      Transformer instrumented for benchmarking (#6734) · 40543869
      Toby Boyd authored
      * Add first benchmark and return stats.
      
      * Remove print statements update training steps.
      
      * Revert print T: in print statement.
      
      * Remove print(stats)
      
      * add 2 gpu accuracy test for base.
      
      * Fixed total_batch_size when using gpu + gFile deprecations.
      
      * 8 GPU test name fix
      
      * Add 4 and 8 GPU tests.
      
      * typo fixes.
      
      * Clean up test names and methods.
      
      * bleu uncased.  docstring format fix.
      40543869
    • Haoyu Zhang's avatar
      Use TensorFlow ops for Keras LearningRateSchedule (#6739) · 9d38e894
      Haoyu Zhang authored
      * Add learning rate tensor. This makes training slower
      
      * Improve LearningRateSchedule with better efficiency
      
      * Fix lint error
      
      * Replace constant definition with existing one
      9d38e894
  12. 08 May, 2019 2 commits
    • Toby Boyd's avatar
      r/tf.random_uniform/tf.random.uniform (#6735) · 9c5253f1
      Toby Boyd authored
      9c5253f1
    • Menglong Zhu's avatar
      Merged commit includes the following changes: (#6726) · 58856e2b
      Menglong Zhu authored
      246873701  by menglong:
      
          Missing __init__.py under meta_architectures/
      
      --
      246857392  by menglong:
      
          Standardize proto namespace: lstm_object_detection.protos
      
      --
      246625127  by menglong:
      
          Internal changes.
      
      --
      246596481  by menglong:
      
          Add License
      
      --
      246580605  by menglong:
      
          Internal changes
      
      --
      246344626  by menglong:
      
          Open source interleaved mobilenet v2 model.
      
      --
      244893883  by menglong:
      
          Introduce multi_input_decoder for interleaved model.
      
      --
      244461016  by menglong:
      
          Add pre-bottleneck operation to lstm cells to support interleaved model.
      
      --
      244052176  by menglong:
      
          Update README
      
      --
      244020495  by menglong:
      
          Add test to rnn_decoder.
      
      --
      243704250  by menglong:
      
          Duplicate assignment.
      
      --
      243091836  by menglong:
      
          Move LSTMSSD meta arch into separate folder
      
      --
      242900337  by menglong:
      
          Modified mobilenet definition for LSTM-SSD
      
      --
      242773195  by menglong:
      
          Release GroupedConvLSTMCell implementation: https://arxiv.org/abs/1903.10172
      
      --
      242574736  by menglong:
      
          Introduce module for quantizated training.
      
      --
      242544306  by menglong:
      
          lstm_ssd_meta_arch updates, added test
          rename:
          - LSTMMetaArch to LSTMSSDMetaArch
          - LSTMFeatureExtractor to LSTMSSDFeatureExtractor
      
      --
      241986236  by menglong:
      
          Move lstm quantization utils to 3rd party.
      
      --
      225922488  by yinxiao:
      
          Training pipeline fixes.
      
      --
      224839137  by yinxiao:
      
          Issue fix for lstm object detecion sample config.
      
      --
      224246947  by menglong:
      
          Fix logging module import
      
      --
      
      PiperOrigin-RevId: 246873701
      58856e2b
  13. 07 May, 2019 2 commits
  14. 06 May, 2019 1 commit