Push to Github of TF2 changes to DELF package (#8678)
* 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
Co-authored-by:
Andre Araujo <andrearaujo@google.com>
Showing
Please register or sign in to comment