1. 31 Aug, 2020 2 commits
  2. 26 Aug, 2020 3 commits
  3. 25 Aug, 2020 3 commits
    • A. Unique TensorFlower's avatar
      Return type change in function resize_pad_to_multiple. · 4af7e0d8
      A. Unique TensorFlower authored
      Change the return type from tuple to list to keep the consistency with other preprocessing functions. The tuple return type may cause errors if we expect a list as the return type.
      
      PiperOrigin-RevId: 328407607
      4af7e0d8
    • Vighnesh Birodkar's avatar
      Make resize_detection_masks function public. · 42b49ff1
      Vighnesh Birodkar authored
      PiperOrigin-RevId: 328348470
      42b49ff1
    • André Araujo's avatar
      Refactor DELG extraction + Release latest DELG paper models (#9145) · 6f9a8f19
      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
      
      * Mention DELG acceptance into ECCV'20
      
      * Merged commit includes the following changes:
      326723075  by Andre Araujo:
      
          Move image resize utility into utils.py.
      
      --
      
      PiperOrigin-RevId: 326723075
      
      * Adding back matched_images_demo.png
      
      * Merged commit includes the following changes:
      327279047  by Andre Araujo:
      
          Adapt extractor to handle new form of joint local+global extraction.
      
      --
      326733524  by Andre Araujo:
      
          Internal change.
      
      --
      
      PiperOrigin-RevId: 327279047
      
      * Updated DELG instructions after model extraction refactoring
      
      * Updating GLDv2 paper model baseline
      6f9a8f19
  4. 21 Aug, 2020 1 commit
  5. 20 Aug, 2020 1 commit
  6. 19 Aug, 2020 2 commits
  7. 18 Aug, 2020 6 commits
    • Kaushik Shivakumar's avatar
      lint more, clean up, push · 98d9f3b8
      Kaushik Shivakumar authored
      98d9f3b8
    • Kaushik Shivakumar's avatar
      fix lint issues · ff91b5c4
      Kaushik Shivakumar authored
      ff91b5c4
    • Kaushik Shivakumar's avatar
      remove redundant file · ac82ad67
      Kaushik Shivakumar authored
      ac82ad67
    • Jaeyoun Kim's avatar
      Update README.md · a54f7d00
      Jaeyoun Kim authored
      Change TF badges
      a54f7d00
    • Dan Anghel's avatar
      README update for DELG training (#9112) · c4e7d734
      Dan Anghel authored
      
      
      * Merged commit includes the following changes:
      326369548  by Andre Araujo:
      
          Fix import issues.
      
      --
      326159826  by Andre Araujo:
      
          Changed the implementation of the cosine weights from Keras layer to tf.Variable to manually control for L2 normalization.
      
      --
      326139082  by Andre Araujo:
      
          Support local feature matching using ratio test.
      
          To allow for easily choosing which matching type to use, we rename a flag/argument and modify all related files to avoid breakages.
      
          Also include a small change when computing nearest neighbors for geometric matching, to parallelize computation, which saves a little bit of time during execution (argument "n_jobs=-1").
      
      --
      326119848  by Andre Araujo:
      
          Option to measure DELG latency taking binarization into account.
      
      --
      324316608  by Andre Araujo:
      
          DELG global features training.
      
      --
      323693131  by Andre Araujo:
      
          PY3 conversion for delf public lib.
      
      --
      321046157  by Andre Araujo:
      
          Purely Google refactor
      
      --
      
      PiperOrigin-RevId: 326369548
      
      * Added export of delg_model module.
      
      * README update to explain training DELG global features head
      Co-authored-by: default avatarAndre Araujo <andrearaujo@google.com>
      c4e7d734
    • Manoj Plakal's avatar
      Added TF-Lite-compatible feature extractor and model exporter for YAMNet (#9098) · 8da48573
      Manoj Plakal authored
      * Added TF-Lite-compatible feature extractor and model exporter for YAMNet.
      
      - Added a TF-Lite compatible feature extractor. With the latest TF-Lite,
        that involves a DFT-multiplication replacement for tf.abs(tf.signal.stft())
        and not a lot else. Note that TF-Lite now allows variable-length inputs.
      - Added a YAMNet exporter that produces TF2 SavedModels, TF-Lite models,
        and TF-JS models.
      - Cleanups: switched hyperparameters to a dataclass, got rid of
        some lingering cruft in yamnet_test.
      
      * Responded to DAn's comments in https://github.com/tensorflow/models/pull/9098
      
      - Switched some hparams to float
      - Made class map asset available on the exported model, and tested that
        it can be loaded from the various exports.
      8da48573
  8. 17 Aug, 2020 1 commit
  9. 16 Aug, 2020 1 commit
  10. 15 Aug, 2020 1 commit
  11. 14 Aug, 2020 4 commits
    • André Araujo's avatar
      Move DELF resizing code into utils.py, which is more appropriate than extractor.py. (#9108) · bd9c6c4e
      André Araujo authored
      * Merged commit includes the following changes:
      326723075  by Andre Araujo:
      
          Move image resize utility into utils.py.
      
      --
      
      PiperOrigin-RevId: 326723075
      
      * Adding back matched_images_demo.png
      bd9c6c4e
    • moneypi's avatar
      1. update to tf2.x for deep_speech (#8696) · 3311242a
      moneypi authored
      Update to TF 2 for deep_speech
      3311242a
    • Vighnesh Birodkar's avatar
      Use 2020-resolver with pip. · cf82a724
      Vighnesh Birodkar authored
      PiperOrigin-RevId: 326665731
      cf82a724
    • Dan Anghel's avatar
      DELF updates (#9095) · a003b7c1
      Dan Anghel authored
      
      
      * Merged commit includes the following changes:
      326369548  by Andre Araujo:
      
          Fix import issues.
      
      --
      326159826  by Andre Araujo:
      
          Changed the implementation of the cosine weights from Keras layer to tf.Variable to manually control for L2 normalization.
      
      --
      326139082  by Andre Araujo:
      
          Support local feature matching using ratio test.
      
          To allow for easily choosing which matching type to use, we rename a flag/argument and modify all related files to avoid breakages.
      
          Also include a small change when computing nearest neighbors for geometric matching, to parallelize computation, which saves a little bit of time during execution (argument "n_jobs=-1").
      
      --
      326119848  by Andre Araujo:
      
          Option to measure DELG latency taking binarization into account.
      
      --
      324316608  by Andre Araujo:
      
          DELG global features training.
      
      --
      323693131  by Andre Araujo:
      
          PY3 conversion for delf public lib.
      
      --
      321046157  by Andre Araujo:
      
          Purely Google refactor
      
      --
      
      PiperOrigin-RevId: 326369548
      
      * Added export of delg_model module.
      Co-authored-by: default avatarAndre Araujo <andrearaujo@google.com>
      a003b7c1
  12. 13 Aug, 2020 4 commits
  13. 12 Aug, 2020 3 commits
    • Kaushik Shivakumar's avatar
      small mod for context · 2bd53cf1
      Kaushik Shivakumar authored
      2bd53cf1
    • Manoj Plakal's avatar
      Input/Output tweaks for YAMNet and VGGish. (#9092) · 9b179e8e
      Manoj Plakal authored
      * Input/Output tweaks for YAMNet and VGGish.
      
      - Waveform input for YAMNet is now padded so that we get at least
        one patch of log mel spectrogram. The VGGish TF-Hub exporter
        uses YAMNet's feature computation so the VGGish export will
        also pad waveform input similarly.
      - Added a 1024-D embedding output to YAMNet so we now produce
        predicted scores, log mel spectrogram features, and embeddings,
        to satisfy a variety of uses: class prediction, acoustic
        feature visualization, semantic feature extraction.
      - Simplified usage of YAMNet in inference mode. Instead of trying
        to work around implicit batch size issues in the Model.predict()
        API, we simply __call__() the Model.
      - Switched inference.py to TF 2 and Eager execution.
      - Updated the visualization notebook: now uses TF2/Eager and
        can be loaded and run in Google Colab.
      
      * Responded to DAn's comments in https://github.com/tensorflow/models/pull/9092
      
      - Merged spectrogram computation and framing into a single function
        that returns both spectrogram and framed features.
      - Extended waveform padding to pad up to an integral number of hops
        in addition to the final STFT analysis window.
      9b179e8e
    • Kaushik Shivakumar's avatar
      add new script, clean up both · d9d47174
      Kaushik Shivakumar authored
      d9d47174
  14. 11 Aug, 2020 1 commit
  15. 10 Aug, 2020 5 commits
  16. 09 Aug, 2020 2 commits