1. 08 Jul, 2020 7 commits
    • Hongkun Yu's avatar
      Migrate all DenseEinsum to tf.keras.experimental.EinsumDense · 43f5340f
      Hongkun Yu authored
      PiperOrigin-RevId: 320240466
      43f5340f
    • Chen Chen's avatar
      Add a colab to explain how to use scaffold classes to build noval achitectures. · 180f2607
      Chen Chen authored
      PiperOrigin-RevId: 320149378
      180f2607
    • Chen Chen's avatar
      Add a colab to introduce nlp/modeling library with examples showing how to... · 56c6c6b8
      Chen Chen authored
      Add a colab to introduce nlp/modeling library with examples showing how to build pretrain/span labeling/classification models.
      
      PiperOrigin-RevId: 320147054
      56c6c6b8
    • Chen Chen's avatar
      Add a predict method in tagging task. · 9b4be3ab
      Chen Chen authored
      PiperOrigin-RevId: 320145633
      9b4be3ab
    • Maxim Neumann's avatar
      Internal change · 2a38d9a4
      Maxim Neumann authored
      PiperOrigin-RevId: 320144607
      2a38d9a4
    • vivek rathod's avatar
      Merged commit includes the following changes: (#8803) · 52bb4ab1
      vivek rathod authored
      
      
      320117767  by ronnyvotel:
      
          DensePose postprocessing implementation.
      
      --
      320065853  by ronnyvotel:
      
          Updating how masks are reframed, so that it works on float and uint8 masks.
      
      --
      320061717  by yuhuic:
      
          Updated CenterNet restore_from_objects to allow the model to load the
          checkpoints saved during training.
      
      --
      319835172  by ronnyvotel:
      
          Updating how the DensePose UV Symmetries MAT file path is constructed and loaded.
      
      --
      319834678  by ronnyvotel:
      
          First update to CenterNetMetaArch for DensePose. Adding prediction and loss functionality.
      
      --
      319810261  by rathodv:
      
          Create a setup.py file to simplify installation.
      
          Usage:
          "python object_detection/packages/tf1/setup.py install" for TF1.
          "python object_detection/packages/tf2/setup.py install" for TF2.
      
          or to create source distribution
          "python object_detection/packages/tf1/setup.py sdist" for TF1.
          "python object_detection/packages/tf2/setup.py sdist" for TF2.
      
      --
      319803041  by sbeery:
      
          Updating documentation for export
      
      --
      319688087  by rathodv:
      
          Update as_matrix() to to_numpy() to avoid failures with python3.6
      
      --
      319686183  by vighneshb:
      
          Require tpu_name when use_tpu is set.
      
      --
      319613327  by aom:
      
          EfficientDet-style Data Augmentation.
      
      --
      319572180  by rathodv:
      
          Add TF2 SSD FPN (a.k.a RetinaNet) configs.
      
      --
      319553823  by rathodv:
      
          Internal Change.
      
      --
      
      PiperOrigin-RevId: 320117767
      Co-authored-by: default avatarTF Object Detection Team <no-reply@google.com>
      52bb4ab1
    • Hongkun Yu's avatar
      Remove TODOs that will never fulfill. · 3b56ba8d
      Hongkun Yu authored
      PiperOrigin-RevId: 320124801
      3b56ba8d
  2. 07 Jul, 2020 1 commit
  3. 06 Jul, 2020 5 commits
  4. 05 Jul, 2020 1 commit
  5. 04 Jul, 2020 2 commits
  6. 03 Jul, 2020 2 commits
  7. 01 Jul, 2020 11 commits
    • André Araujo's avatar
      DELF documentation updates (#8767) · 8a19350e
      André Araujo authored
      * Merged commit includes the following changes:
      253126424  by Andre Araujo:
      
          Scripts to compute metrics for Google Landmarks dataset.
      
          Also, a small fix to metric in retrieval case: avoids duplicate predicted images.
      
      --
      253118971  by Andre Araujo:
      
          Metrics for Google Landmarks dataset.
      
      --
      253106953  by Andre Araujo:
      
          Library to read files from Google Landmarks challenges.
      
      --
      250700636  by Andre Araujo:
      
          Handle case of aggregation extraction with empty set of input features.
      
      --
      250516819  by Andre Araujo:
      
          Add minimum size for DELF extractor.
      
      --
      250435822  by Andre Araujo:
      
          Add max_image_size/min_image_size for open-source DELF proto / module.
      
      --
      250414606  by Andre Araujo:
      
          Refactor extract_aggregation to allow reuse with different datasets.
      
      --
      250356863  by Andre Araujo:
      
          Remove unnecessary cmd_args variable from boxes_and_features_extraction.
      
      --
      249783379  by Andre Araujo:
      
          Create directory for writing mapping file if it does not exist.
      
      --
      249581591  by Andre Araujo:
      
          Refactor scripts to extract boxes and features from images in Revisited datasets.
          Also, change tf.logging.info --> print for easier logging in open source code.
      
      --
      249511821  by Andre Araujo:
      
          Small change to function for file/directory handling.
      
      --
      249289499  by Andre Araujo:
      
          Internal change.
      
      --
      
      PiperOrigin-RevId: 253126424
      
      * Updating DELF init to adjust to latest changes
      
      * Editing init files for python packages
      
      * Edit D2R dataset reader to work with py3.
      
      PiperOrigin-RevId: 253135576
      
      * DELF package: fix import ordering
      
      * Adding new requirements to setup.py
      
      * Adding init file for training dir
      
      * Merged commit includes the following changes:
      
      FolderOrigin-RevId: /google/src/cloud/andrearaujo/delf_oss/google3/..
      
      * Adding init file for training subdirs
      
      * Working version of DELF training
      
      * Internal change.
      
      PiperOrigin-RevId: 253248648
      
      * Fix variance loading in open-source code.
      
      PiperOrigin-RevId: 260619120
      
      * Separate image re-ranking as a standalone library, and add metric writing to dataset library.
      
      PiperOrigin-RevId: 260998608
      
      * Tool to read written D2R Revisited datasets metrics file. Test is added.
      
      Also adds a unit test for previously-existing SaveMetricsFile function.
      
      PiperOrigin-RevId: 263361410
      
      * Add optional resize factor for feature extraction.
      
      PiperOrigin-RevId: 264437080
      
      * Fix NumPy's new version spacing changes.
      
      PiperOrigin-RevId: 265127245
      
      * Maker image matching function visible, and add support for RANSAC seed.
      
      PiperOrigin-RevId: 277177468
      
      * Avoid matplotlib failure due to missing display backend.
      
      PiperOrigin-RevId: 287316435
      
      * Removes tf.contrib dependency.
      
      PiperOrigin-RevId: 288842237
      
      * Fix tf contrib removal for feature_aggregation_extractor.
      
      PiperOrigin-RevId: 289487669
      
      * Merged commit includes the following changes:
      309118395  by Andre Araujo:
      
          Make DELF open-source code compatible with TF2.
      
      --
      309067582  by Andre Araujo:
      
          Handle image resizing rounding properly for python extraction.
      
          New behavior is tested with unit tests.
      
      --
      308690144  by Andre Araujo:
      
          Several changes to improve DELF model/training code and make it work in TF 2.1.0:
          - Rename some files for better clarity
          - Using compat.v1 versions of functions
          - Formatting changes
          - Using more appropriate TF function names
      
      --
      308689397  by Andre Araujo:
      
          Internal change.
      
      --
      308341315  by Andre Araujo:
      
          Remove old slim dependency in DELF open-source model.
      
          This avoids issues with requiring old TF-v1, making it compatible with latest TF.
      
      --
      306777559  by Andre Araujo:
      
          Internal change
      
      --
      304505811  by Andre Araujo:
      
          Raise error during geometric verification if local features have different dimensionalities.
      
      --
      301739992  by Andre Araujo:
      
          Transform some geometric verification constants into arguments, to allow custom matching.
      
      --
      301300324  by Andre Araujo:
      
          Apply name change(experimental_run_v2 -> run) for all callers in Tensorflow.
      
      --
      299919057  by Andre Araujo:
      
          Automated refactoring to make code Python 3 compatible.
      
      --
      297953698  by Andre Araujo:
      
          Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
      
      --
      297521242  by Andre Araujo:
      
          Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
      
      --
      297278247  by Andre Araujo:
      
          Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
      
      --
      297270405  by Andre Araujo:
      
          Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
      
      --
      297238741  by Andre Araujo:
      
          Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
      
      --
      297108605  by Andre Araujo:
      
          Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
      
      --
      294676131  by Andre Araujo:
      
          Add option to resize images to square resolutions without aspect ratio preservation.
      
      --
      293849641  by Andre Araujo:
      
          Internal change.
      
      --
      293840896  by Andre Araujo:
      
          Changing Slim import to tf_slim codebase.
      
      --
      293661660  by Andre Araujo:
      
          Allow the delf training script to read from TFRecords dataset.
      
      --
      291755295  by Andre Araujo:
      
          Internal change.
      
      --
      291448508  by Andre Araujo:
      
          Internal change.
      
      --
      291414459  by Andre Araujo:
      
          Adding train script.
      
      --
      291384336  by Andre Araujo:
      
          Adding model export script and test.
      
      --
      291260565  by Andre Araujo:
      
          Adding placeholder for Google Landmarks dataset.
      
      --
      291205548  by Andre Araujo:
      
          Definition of DELF model using Keras ResNet50 as backbone.
      
      --
      289500793  by Andre Araujo:
      
          Add TFRecord building script for delf.
      
      --
      
      PiperOrigin-RevId: 309118395
      
      * Updating README, dependency versions
      
      * Updating training README
      
      * Fixing init import of export_model
      
      * Fixing init import of export_model_utils
      
      * tkinter in INSTALL_INSTRUCTIONS
      
      * Merged commit includes the following changes:
      
      FolderOrigin-RevId: /google/src/cloud/andrearaujo/delf_oss/google3/..
      
      * INSTALL_INSTRUCTIONS mentioning different cloning options
      
      * Updating required TF version, since 2.1 is not available in pip
      
      * Internal change.
      
      PiperOrigin-RevId: 309136003
      
      * Fix missing string_input_producer and start_queue_runners in TF2.
      
      PiperOrigin-RevId: 309437512
      
      * Handle RANSAC from skimage's latest versions.
      
      PiperOrigin-RevId: 310170897
      
      * DELF 2.1 version: badge and setup.py updated
      
      * Add TF version badge in INSTALL_INSTRUCTIONS and paper badges in README
      
      * Add paper badges in paper instructions
      
      * Add paper badge to landmark detection instructions
      
      * Small update to DELF training README
      
      * Merged commit includes the following changes:
      312614961  by Andre Araujo:
      
          Instructions/code to reproduce DELG paper results.
      
      --
      312523414  by Andre Araujo:
      
          Fix a minor bug when post-process extracted features, format config.delf_global_config.image_scales_ind to a list.
      
      --
      312340276  by Andre Araujo:
      
          Add support for global feature extraction in DELF open-source codebase.
      
      --
      311031367  by Andre Araujo:
      
          Add use_square_images as an option in DELF config. The default value is false. if it is set, then images are resized to square resolution before feature extraction (e.g. Starburst use case. ) Thought for a while, whether to have two constructor of DescriptorToImageTemplate, but in the end, decide to only keep one, may be less confusing.
      
      --
      310658638  by Andre Araujo:
      
          Option for producing local feature-based image match visualization.
      
      --
      
      PiperOrigin-RevId: 312614961
      
      * DELF README update / DELG instructions
      
      * DELF README update
      
      * DELG instructions update
      
      * Merged commit includes the following changes:
      
      PiperOrigin-RevId: 312695597
      
      * Merged commit includes the following changes:
      312754894  by Andre Araujo:
      
          Code edits / instructions to reproduce GLDv2 results.
      
      --
      
      PiperOrigin-RevId: 312754894
      
      * Markdown updates after adding GLDv2 stuff
      
      * Small updates to DELF README
      
      * Clarify that library must be installed before reproducing results
      
      * Merged commit includes the following changes:
      319114828  by Andre Araujo:
      
          Upgrade global feature model exporting to TF2.
      
      --
      
      PiperOrigin-RevId: 319114828
      
      * Properly merging README
      
      * small edits to README
      
      * small edits to README
      
      * small edits to README
      
      * global feature exporting in training README
      
      * Update to DELF README, install instructions
      
      * Centralizing installation instructions
      
      * Small readme update
      
      * Fixing commas
      8a19350e
    • Chen Chen's avatar
      Internal Change · a7a919d7
      Chen Chen authored
      PiperOrigin-RevId: 319282071
      a7a919d7
    • Hongkun Yu's avatar
      Fix typo and grammar errors. · 59353708
      Hongkun Yu authored
      PiperOrigin-RevId: 319276332
      59353708
    • Yiming Shi's avatar
      remove extraeneous spaces (#8762) · b43418ad
      Yiming Shi authored
      b43418ad
    • Chen Chen's avatar
      Internal change · d4480696
      Chen Chen authored
      PiperOrigin-RevId: 319267378
      d4480696
    • Darien Schettler's avatar
      Fix typo in retinanet_model.py · 090c7149
      Darien Schettler authored
      supportted --> supported
      090c7149
    • vivek rathod's avatar
      Merged commit includes the following changes: (#8761) · e6017471
      vivek rathod authored
      
      
      319125512  by aom:
      
          Internal change
      
      --
      319108395  by rathodv:
      
          Internal Change
      
      --
      319106259  by ronnyvotel:
      
          Updating input pipeline to return DensePose labels.
      
      --
      
      PiperOrigin-RevId: 319125512
      Co-authored-by: default avatarZhichao Lu <lzc@google.com>
      e6017471
    • A. Unique TensorFlower's avatar
      Internal change · 58d19c67
      A. Unique TensorFlower authored
      PiperOrigin-RevId: 319162455
      58d19c67
    • Jaeyoun Kim's avatar
      Update README.md · 574455f5
      Jaeyoun Kim authored
      Add SpineNet to the Announcements section
      574455f5
    • Hongkun Yu's avatar
      Update docstring to explicitly callout the methods run on remote hosts/devices. · 66cc634f
      Hongkun Yu authored
      PiperOrigin-RevId: 319157806
      66cc634f
    • André Araujo's avatar
      TF2 version for global feature model exporting (#8760) · 30bac445
      André Araujo authored
      * Merged commit includes the following changes:
      253126424  by Andre Araujo:
      
          Scripts to compute metrics for Google Landmarks dataset.
      
          Also, a small fix to metric in retrieval case: avoids duplicate predicted images.
      
      --
      253118971  by Andre Araujo:
      
          Metrics for Google Landmarks dataset.
      
      --
      253106953  by Andre Araujo:
      
          Library to read files from Google Landmarks challenges.
      
      --
      250700636  by Andre Araujo:
      
          Handle case of aggregation extraction with empty set of input features.
      
      --
      250516819  by Andre Araujo:
      
          Add minimum size for DELF extractor.
      
      --
      250435822  by Andre Araujo:
      
          Add max_image_size/min_image_size for open-source DELF proto / module.
      
      --
      250414606  by Andre Araujo:
      
          Refactor extract_aggregation to allow reuse with different datasets.
      
      --
      250356863  by Andre Araujo:
      
          Remove unnecessary cmd_args variable from boxes_and_features_extraction.
      
      --
      249783379  by Andre Araujo:
      
          Create directory for writing mapping file if it does not exist.
      
      --
      249581591  by Andre Araujo:
      
          Refactor scripts to extract boxes and features from images in Revisited datasets.
          Also, change tf.logging.info --> print for easier logging in open source code.
      
      --
      249511821  by Andre Araujo:
      
          Small change to function for file/directory handling.
      
      --
      249289499  by Andre Araujo:
      
          Internal change.
      
      --
      
      PiperOrigin-RevId: 253126424
      
      * Updating DELF init to adjust to latest changes
      
      * Editing init files for python packages
      
      * Edit D2R dataset reader to work with py3.
      
      PiperOrigin-RevId: 253135576
      
      * DELF package: fix import ordering
      
      * Adding new requirements to setup.py
      
      * Adding init file for training dir
      
      * Merged commit includes the following changes:
      
      FolderOrigin-RevId: /google/src/cloud/andrearaujo/delf_oss/google3/..
      
      * Adding init file for training subdirs
      
      * Working version of DELF training
      
      * Internal change.
      
      PiperOrigin-RevId: 253248648
      
      * Fix variance loading in open-source code.
      
      PiperOrigin-RevId: 260619120
      
      * Separate image re-ranking as a standalone library, and add metric writing to dataset library.
      
      PiperOrigin-RevId: 260998608
      
      * Tool to read written D2R Revisited datasets metrics file. Test is added.
      
      Also adds a unit test for previously-existing SaveMetricsFile function.
      
      PiperOrigin-RevId: 263361410
      
      * Add optional resize factor for feature extraction.
      
      PiperOrigin-RevId: 264437080
      
      * Fix NumPy's new version spacing changes.
      
      PiperOrigin-RevId: 265127245
      
      * Maker image matching function visible, and add support for RANSAC seed.
      
      PiperOrigin-RevId: 277177468
      
      * Avoid matplotlib failure due to missing display backend.
      
      PiperOrigin-RevId: 287316435
      
      * Removes tf.contrib dependency.
      
      PiperOrigin-RevId: 288842237
      
      * Fix tf contrib removal for feature_aggregation_extractor.
      
      PiperOrigin-RevId: 289487669
      
      * Merged commit includes the following changes:
      309118395  by Andre Araujo:
      
          Make DELF open-source code compatible with TF2.
      
      --
      309067582  by Andre Araujo:
      
          Handle image resizing rounding properly for python extraction.
      
          New behavior is tested with unit tests.
      
      --
      308690144  by Andre Araujo:
      
          Several changes to improve DELF model/training code and make it work in TF 2.1.0:
          - Rename some files for better clarity
          - Using compat.v1 versions of functions
          - Formatting changes
          - Using more appropriate TF function names
      
      --
      308689397  by Andre Araujo:
      
          Internal change.
      
      --
      308341315  by Andre Araujo:
      
          Remove old slim dependency in DELF open-source model.
      
          This avoids issues with requiring old TF-v1, making it compatible with latest TF.
      
      --
      306777559  by Andre Araujo:
      
          Internal change
      
      --
      304505811  by Andre Araujo:
      
          Raise error during geometric verification if local features have different dimensionalities.
      
      --
      301739992  by Andre Araujo:
      
          Transform some geometric verification constants into arguments, to allow custom matching.
      
      --
      301300324  by Andre Araujo:
      
          Apply name change(experimental_run_v2 -> run) for all callers in Tensorflow.
      
      --
      299919057  by Andre Araujo:
      
          Automated refactoring to make code Python 3 compatible.
      
      --
      297953698  by Andre Araujo:
      
          Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
      
      --
      297521242  by Andre Araujo:
      
          Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
      
      --
      297278247  by Andre Araujo:
      
          Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
      
      --
      297270405  by Andre Araujo:
      
          Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
      
      --
      297238741  by Andre Araujo:
      
          Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
      
      --
      297108605  by Andre Araujo:
      
          Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
      
      --
      294676131  by Andre Araujo:
      
          Add option to resize images to square resolutions without aspect ratio preservation.
      
      --
      293849641  by Andre Araujo:
      
          Internal change.
      
      --
      293840896  by Andre Araujo:
      
          Changing Slim import to tf_slim codebase.
      
      --
      293661660  by Andre Araujo:
      
          Allow the delf training script to read from TFRecords dataset.
      
      --
      291755295  by Andre Araujo:
      
          Internal change.
      
      --
      291448508  by Andre Araujo:
      
          Internal change.
      
      --
      291414459  by Andre Araujo:
      
          Adding train script.
      
      --
      291384336  by Andre Araujo:
      
          Adding model export script and test.
      
      --
      291260565  by Andre Araujo:
      
          Adding placeholder for Google Landmarks dataset.
      
      --
      291205548  by Andre Araujo:
      
          Definition of DELF model using Keras ResNet50 as backbone.
      
      --
      289500793  by Andre Araujo:
      
          Add TFRecord building script for delf.
      
      --
      
      PiperOrigin-RevId: 309118395
      
      * Updating README, dependency versions
      
      * Updating training README
      
      * Fixing init import of export_model
      
      * Fixing init import of export_model_utils
      
      * tkinter in INSTALL_INSTRUCTIONS
      
      * Merged commit includes the following changes:
      
      FolderOrigin-RevId: /google/src/cloud/andrearaujo/delf_oss/google3/..
      
      * INSTALL_INSTRUCTIONS mentioning different cloning options
      
      * Updating required TF version, since 2.1 is not available in pip
      
      * Internal change.
      
      PiperOrigin-RevId: 309136003
      
      * Fix missing string_input_producer and start_queue_runners in TF2.
      
      PiperOrigin-RevId: 309437512
      
      * Handle RANSAC from skimage's latest versions.
      
      PiperOrigin-RevId: 310170897
      
      * DELF 2.1 version: badge and setup.py updated
      
      * Add TF version badge in INSTALL_INSTRUCTIONS and paper badges in README
      
      * Add paper badges in paper instructions
      
      * Add paper badge to landmark detection instructions
      
      * Small update to DELF training README
      
      * Merged commit includes the following changes:
      312614961  by Andre Araujo:
      
          Instructions/code to reproduce DELG paper results.
      
      --
      312523414  by Andre Araujo:
      
          Fix a minor bug when post-process extracted features, format config.delf_global_config.image_scales_ind to a list.
      
      --
      312340276  by Andre Araujo:
      
          Add support for global feature extraction in DELF open-source codebase.
      
      --
      311031367  by Andre Araujo:
      
          Add use_square_images as an option in DELF config. The default value is false. if it is set, then images are resized to square resolution before feature extraction (e.g. Starburst use case. ) Thought for a while, whether to have two constructor of DescriptorToImageTemplate, but in the end, decide to only keep one, may be less confusing.
      
      --
      310658638  by Andre Araujo:
      
          Option for producing local feature-based image match visualization.
      
      --
      
      PiperOrigin-RevId: 312614961
      
      * DELF README update / DELG instructions
      
      * DELF README update
      
      * DELG instructions update
      
      * Merged commit includes the following changes:
      
      PiperOrigin-RevId: 312695597
      
      * Merged commit includes the following changes:
      312754894  by Andre Araujo:
      
          Code edits / instructions to reproduce GLDv2 results.
      
      --
      
      PiperOrigin-RevId: 312754894
      
      * Markdown updates after adding GLDv2 stuff
      
      * Small updates to DELF README
      
      * Clarify that library must be installed before reproducing results
      
      * Merged commit includes the following changes:
      319114828  by Andre Araujo:
      
          Upgrade global feature model exporting to TF2.
      
      --
      
      PiperOrigin-RevId: 319114828
      
      * Properly merging README
      
      * small edits to README
      
      * small edits to README
      
      * small edits to README
      
      * global feature exporting in training README
      30bac445
  8. 30 Jun, 2020 11 commits
    • Dan Anghel's avatar
      Update to the DELF training README (#8759) · 04c0409c
      Dan Anghel authored
      
      
      * First version of working script to download the GLDv2 dataset
      
      * First version of the DEFL package installation script
      
      * First working version of the DELF package installation script
      
      * Fixed feedback from PR review
      
      * Push to Github of changes to the TFRecord data generation script for DELF.
      
      * Merged commit includes the following changes:
      315363544  by Andre Araujo:
      
          Added the generation of TRAIN and VALIDATE splits from the train dataset.
      
      --
      314676530  by Andre Araujo:
      
          Updated script to download GLDv2 images for DELF training.
      
      --
      314101235  by Andre Araujo:
      
          Added newly created module 'utils' to the copybara script.
      
      --
      313677085  by Andre Araujo:
      
          Code migration from TF1 to TF2 for:
          - logging (replaced usage of tf.compat.v1.logging.info)
          - testing directories (replaced usage of tf.compat.v1.test.get_temp_dir())
          - feature/object extraction scripts (replaced usage of tf.compat.v1.train.string_input_producer and tf.compat.v1.train.start_queue_runners with PIL)
      
      --
      312770828  by Andre Araujo:
      
          Internal change.
      
      --
      
      PiperOrigin-RevId: 315363544
      
      * First version of the updated README of the DELF training instructions
      
      * Added to the README the section describing the generation of the training data
      
      * Added warning about the TFRecord generation time
      
      * Updated the launch of the training
      
      * Minor README update
      
      * Integrated review feedback
      
      * Merged commit includes the following changes:
      315971979  by Andre Araujo:
      
          Performance optimization in generating the TRAIN and VALIDATION splits per label.
      
      --
      315578370  by Andre Araujo:
      
          Tiny fix to char limit in extractor.py.
      
      --
      315546242  by Andre Araujo:
      
          Script to measure DELG latency.
      
      --
      315545801  by Andre Araujo:
      
          Pre-load PCA parameters, if using them when extracting DELF/G features.
      
      --
      315450392  by Andre Araujo:
      
          Code migration from TF1 to TF2 for:
          - loading the models using  in extractor.py and detector.py using tf.saved_model.load
          - removed tf.compat.v1.Session for the extractor and detector model usage
      
      --
      315406342  by Andre Araujo:
      
          Internal change.
      
      --
      
      PiperOrigin-RevId: 315971979
      
      * Merged commit includes the following changes:
      316538447  by Andre Araujo:
      
          Read the number of classes from the GLDv2 dataset metadata.
      
      --
      316416973  by Andre Araujo:
      
          Migration of DELF code to TF2:
          - removed tf.compat.v1.test.get_temp_dir() with FLAGS.test_tmpdir
          - removed delf_v1.py and its dependencies
          - removed tf.compat.v1, Session, Graph dependencies from feature_extractor.py, feature_aggregation_extractor.py and aggregation_extraction.py
      
      --
      
      PiperOrigin-RevId: 316538447
      
      * Removed reference to delf_v1
      
      * Merged commit includes the following changes:
      318168500  by Andre Araujo:
      
          Several small changes to DELF open-source training code:
          - Replace "make_dataset_iterator" call which was deprecated by a more recent suitable version.
          - Add image summary, allowing visualization of the augmented images during training
          - Normalize images before feeding them to the model
      
      --
      316888714  by Andre Araujo:
      
          - Removed unnecessary cast from feature_aggregation_extraction.py
          - Fixed clustering script
      
      --
      
      PiperOrigin-RevId: 318168500
      
      * Merged commit includes the following changes:
      318401984  by Andre Araujo:
      
          Add attention visualization to DELF training script.
      
      --
      
      PiperOrigin-RevId: 318401984
      
      * README update with training and model validation steps
      
      * Minor fixes to the DEFL training README
      
      * Integrated review feedback
      
      * Changed passing of boolean parameter to script
      Co-authored-by: default avatarAndre Araujo <andrearaujo@google.com>
      04c0409c
    • Hongkun Yu's avatar
      Internal change · 4b46ab20
      Hongkun Yu authored
      PiperOrigin-RevId: 319114361
      4b46ab20
    • Yiming Shi's avatar
      Add Faster RCNN Resnet V1 FPN Keras feature extractor (#8716) · 3300fa04
      Yiming Shi authored
      * Initial commit for faster rcnn resnet v1 fpn feature extractor.
      
      1. Setup code structure for fpn feature extractor
      
      * draft for faster rcnn resnet vi fpn feature extractor
      
      * draft for faster rcnn resnet v1 fpn feature extractor
      
      * add seperated class for resnet 50 101 152
      
      * draft for get_box_classifier_feature_extractor_model
      
      * remove unused code
      
      * Init test file for faster_rcnn_fpn_keras_feature extractor
      
      * add unit test for get_proposal_feature_extractor_model
      
      * add unit test for get_proposal_feature_extractor_model smaller input size
      
      * add unit test for get_proposal_feature_extractor_model incorrect dimension
      
      * change keras model output format
      
      * Update size on extract_proposal_features tests
      
      * change default fpn_min_level to 2
      
      * fix error in get_box_classifier_feature_extractor_model
      
      * add shape test for get_box_classifier_feature_extractor_model
      
      * fix coding style
      
      * Fix coding style for feature extractor.
      
      * add faster rcnn resnet v1 fpn feature extractor to model builder
      
      * rename fpn feature extractors
      
      * modify doc string for Feature extractor:
      
      drop word "implementation"
      
      * add todo in get_box_classifier_feature_extractor_model
      
      * remove enable_v2_behavior
      
      * drop unittest test_extract_proposal_features_dies_with_incorrect_rank_inputs
      
      * modify feature extractor name
      
      * remove min_depth and depth_multiplier feature
      
      * Add coarse layers for faster rcnn fpn keras model
      
      1. Add coarse layers
      2. Update corresponding unit test to check the size of the coarse layer
      is correct
      
      * change the default max_fpn_level to 6
      
      * change unittest since default max_fpn_level is change to 6
      3300fa04
    • A. Unique TensorFlower's avatar
      Add ELECTRA pretrainer v2 configuration and adjust the visibility of ELECTRAPretrainer. · a36f85c6
      A. Unique TensorFlower authored
      Contributed by mickeystroller
      
      PiperOrigin-RevId: 319073522
      a36f85c6
    • vivek rathod's avatar
      Merged commit includes the following changes: (#8755) · 0e57630c
      vivek rathod authored
      319052168  by rathodv:
      
          Change assertAllEqual to assertAllClose for Position Sensitive Crop and Resize to avoid flaky tests.
      
      --
      319044492  by rathodv:
      
          Internal change.
      
      --
      319039033  by ronnyvotel:
      
          Preprocessor ops for DensePose.
      
      --
      319035440  by sbeery:
      
          External beam code with DataFlow Support
      
      --
      318899436  by ronnyvotel:
      
          DensePose library for common operations like scaling, coordinate transformations, and flipping.
      
      --
      318833308  by Vivek Rathod:
      
            Internal Change
      
      --
      
      PiperOrigin-RevId: 319052168
      0e57630c
    • Allen Wang's avatar
      Internal change · b035a227
      Allen Wang authored
      PiperOrigin-RevId: 319058156
      b035a227
    • BasiaFusinska's avatar
      Merged commit includes the following changes: (#8753) · df89d3e0
      BasiaFusinska authored
      318938278  by Andre Araujo:
      
          Loading pretrained ImageNet weights to initialize the ResNet backbone. Changed the defaults of the batch size and initial learning rate to increase convergence on the GLDv2 dataset. Made the evaluation batch size dynamic depending on the global batch size.
      
      --
      318911740  by Andre Araujo:
      
          Introduced additional shuffling of the TRAIN and VALIDATION datasets to ensure label variance across batches.
      
      --
      318908335  by Andre Araujo:
      
          Export model migration to TF2.
      
      --
      318489123  by Andre Araujo:
      
          Model exporting script for global feature trained with DELF codebase.
          Additionally, makes a small change to replace back_prop=False in the tf.while_loop call (see deprecation notice in https://www.tensorflow.org/api_docs/python/tf/while_loop
      
      ).
      
      --
      318401984  by Andre Araujo:
      
          Add attention visualization to DELF training script.
      
      --
      318168500  by Andre Araujo:
      
          Several small changes to DELF open-source training code:
          - Replace "make_dataset_iterator" call which was deprecated by a more recent suitable version.
          - Add image summary, allowing visualization of the augmented images during training
          - Normalize images before feeding them to the model
      
      --
      316888714  by Andre Araujo:
      
          - Removed unnecessary cast from feature_aggregation_extraction.py
          - Fixed clustering script
      
      --
      
      PiperOrigin-RevId: 318938278
      Co-authored-by: default avatarAndre Araujo <andrearaujo@google.com>
      df89d3e0
    • A. Unique TensorFlower's avatar
      Introducing SpineNet backbone to TF2. · 9725a407
      A. Unique TensorFlower authored
      PiperOrigin-RevId: 318945656
      9725a407
    • Chen Chen's avatar
      Internal Change · 91e2171b
      Chen Chen authored
      PiperOrigin-RevId: 318942343
      91e2171b
    • Hongkun Yu's avatar
      Internal change · e30aa7d8
      Hongkun Yu authored
      PiperOrigin-RevId: 318935091
      e30aa7d8
    • kmindspark's avatar
      revert properly (#8751) · cc5a7980
      kmindspark authored
      cc5a7980