• Z
    Merged commit includes the following changes: · a1337e01
    Zhichao Lu 提交于
    223075771  by lzc:
    
        Bring in external fixes.
    
    --
    222919755  by ronnyvotel:
    
        Bug fix in faster r-cnn model builder. Was previously using `inplace_batchnorm_update` for `reuse_weights`.
    
    --
    222885680  by Zhichao Lu:
    
        Use the result_dict_for_batched_example in models_lib
        Also fixes the visualization size on when eval is on GPU
    
    --
    222883648  by Zhichao Lu:
    
        Fix _unmatched_class_label for the _add_background_class == False case in ssd_meta_arch.py.
    
    --
    222836663  by Zhichao Lu:
    
        Adding support for visualizing grayscale images. Without this change, the images are black-red instead of grayscale.
    
    --
    222501978  by Zhichao Lu:
    
        Fix a bug that caused convert_to_grayscale flag not to be respected.
    
    --
    222432846  by richardmunoz:
    
        Fix mapping of groundtruth_confidences from shape [num_boxes] to [num_boxes, num_classes] when the input contains the groundtruth_confidences field.
    
    --
    221725755  by richardmunoz:
    
        Internal change.
    
    --
    221458536  by Zhichao Lu:
    
        Fix saver defer build bug in object detection train codepath.
    
    --
    221391590  by Zhichao Lu:
    
        Add support for group normalization in the object detection API. Just adding MobileNet-v1 SSD currently. This may serve as a road map for other models that wish to support group normalization as an option.
    
    --
    221367993  by Zhichao Lu:
    
        Bug fixes (1) Make RandomPadImage work, (2) Fix keep_checkpoint_every_n_hours.
    
    --
    221266403  by rathodv:
    
        Use detection boxes as proposals to compute correct mask loss in eval jobs.
    
    --
    220845934  by lzc:
    
        Internal change.
    
    --
    220778850  by Zhichao Lu:
    
        Incorporating existing metrics into Estimator framework.
        Should restore:
        -oid_challenge_detection_metrics
        -pascal_voc_detection_metrics
        -weighted_pascal_voc_detection_metrics
        -pascal_voc_instance_segmentation_metrics
        -weighted_pascal_voc_instance_segmentation_metrics
        -oid_V2_detection_metrics
    
    --
    220370391  by alirezafathi:
    
        Adding precision and recall to the metrics.
    
    --
    220321268  by Zhichao Lu:
    
        Allow the option of setting max_examples_to_draw to zero.
    
    --
    220193337  by Zhichao Lu:
    
        This CL fixes a bug where the Keras convolutional box predictor was applying heads in the non-deterministic dict order. The consequence of this bug was that variables were created in non-deterministic orders. This in turn led different workers in a multi-gpu training setup to have slightly different graphs which had variables assigned to mismatched parameter servers. As a result, roughly half of all workers were unable to initialize and did no work, and training time was slowed down approximately 2x.
    
    --
    220136508  by huizhongc:
    
        Add weight equalization loss to SSD meta arch.
    
    --
    220125875  by pengchong:
    
        Rename label_scores to label_weights
    
    --
    219730108  by Zhichao Lu:
    
        Add description of detection_keypoints in postprocessed_tensors to docstring.
    
    --
    219577519  by pengchong:
    
        Support parsing the class confidences and training using them.
    
    --
    219547611  by lzc:
    
        Stop using static shapes in GPU eval jobs.
    
    --
    219536476  by Zhichao Lu:
    
        Migrate TensorFlow Lite out of tensorflow/contrib
    
        This change moves //tensorflow/contrib/lite to //tensorflow/lite in preparation
        for TensorFlow 2.0's deprecation of contrib/. If you refer to TF Lite build
        targets or headers, you will need to update them manually. If you use TF Lite
        from the TensorFlow python package, "tf.contrib.lite" now points to "tf.lite".
        Please update your imports as soon as possible.
    
        For more details, see https://groups.google.com/a/tensorflow.org/forum/#!topic/tflite/iIIXOTOFvwQ
    
        @angersson and @aselle are conducting this migration. Please contact them if
        you have any further questions.
    
    --
    219190083  by Zhichao Lu:
    
        Add a second expected_loss_weights function using an alternative expectation calculation compared to previous. Integrate this op into ssd_meta_arch and losses builder. Affects files that use losses_builder.build to handle the returning of an additional element.
    
    --
    218924451  by pengchong:
    
        Add a new way to assign training targets using groundtruth confidences.
    
    --
    218760524  by chowdhery:
    
        Modify export script to add option for regular NMS in TFLite post-processing op.
    
    --
    
    PiperOrigin-RevId: 223075771
    a1337e01
model_lib.py 34.0 KB