1. 22 May, 2019 2 commits
    • 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
  2. 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: 24817...
      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
  3. 20 May, 2019 1 commit
  4. 18 May, 2019 2 commits
  5. 16 May, 2019 2 commits
  6. 15 May, 2019 3 commits
  7. 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
  8. 11 May, 2019 2 commits
  9. 10 May, 2019 5 commits
  10. 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
  11. 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
  12. 07 May, 2019 2 commits
  13. 06 May, 2019 2 commits
  14. 04 May, 2019 1 commit
    • Haoyu Zhang's avatar
      Enable CuDNN BatchNorm spatial persistent by default (#6710) · 58deb059
      Haoyu Zhang authored
      * Enable CuDNN BatchNorm spatial persistent by default; Remove 2nd zero padding layer
      
      * Apply scale=False and fused=True consistently to BatchNorm layers
      
      * Undo remove padding layer
      
      * Replace zero padding with padding attribute in max pooling for better performance
      
      * Resolve comments
      
      * Revert "Replace zero padding with padding attribute in max pooling for better performance"
      
      This reverts commit ad49db057c800ecac008eec1057005bd2c08ac73.
      58deb059
  15. 03 May, 2019 1 commit
  16. 02 May, 2019 2 commits
  17. 01 May, 2019 2 commits
    • Reed's avatar
      Add --fp16_implementation option. (#6703) · b691578c
      Reed authored
      This options allows the new tf.train.experimental.enable_mixed_precision_graph_rewrite() function to be used for fp16, instead of manual casts.
      b691578c
    • André Araujo's avatar
      Small edit to DELF README (#6704) · 62ed862e
      André Araujo authored
      * Internal change.
      
      PiperOrigin-RevId: 185564155
      
      * Fix small bug when reading DELF features when file is empty.
      A new test is added that catches this bug.
      
      PiperOrigin-RevId: 213839503
      
      * Refactors DELF example code to expose a function to create a DELF feature extractor.
      
      PiperOrigin-RevId: 241492615
      
      * Merged commit includes the following changes:
      244073180  by Andre Araujo:
      
          Internal change
      
      --
      243646498  by Andre Araujo:
      
          Detect and save bounding boxes for a list of images.
          A new proto is added, along with auxiliary read/write functions, and tests.
      
      --
      
      PiperOrigin-RevId: 244073180
      
      * Merged commit includes the following changes:
      244872693  by Andre Araujo:
      
          Small change.
      
      --
      244871213  by Andre Araujo:
      
          Small edit to DELF extractor function.
      
      --
      244790715  by Andre Araujo:
      
          internal automated change
      
      --
      244773146  by Andre Araujo:
      
          Add option to visualize extracted boxes, and change slightly model input.
      
      --
      244288992  by Andre Araujo:
      
          Script to cluster DELF features using K-means.
      
      --
      244275164  by Andre Araujo:
      
          Scripts to extract DELF features and boxes from Revisited Oxford/Paris datasets, used in Detect-to-Retrieve paper.
      
      --
      
      PiperOrigin-RevId: 244872693
      
      * Merged commit includes the following changes:
      
      PiperOrigin-RevId: 244876167
      
      * Updates instructions to include new released models, instructions for DELF and detector extraction, etc.
      
      * Small fix
      
      * Merged commit includes the following changes:
      244909336  by Andre Araujo:
      
          Update to DELF config example to use latest model.
      
      --
      
      PiperOrigin-RevId: 244909336
      
      * Revert "Merged commit includes the following changes:"
      
      This reverts commit f41be9f159330f62846d5d8b3d3d5d55cd1874f4.
      
      * Update delf_config_example model
      
      * Small edits to detection instructions
      
      * Specifying GLB location in README
      
      * Mention D2R code release in progress
      62ed862e
  18. 30 Apr, 2019 1 commit