• D
    Push to Github of changes to DELF package (#8670) · b3ef7ae9
    Dan Anghel 提交于
    * 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
    Co-authored-by: NAndre Araujo <andrearaujo@google.com>
    b3ef7ae9
boxes_and_features_extraction.py 7.8 KB