• pkulzc's avatar
    Minor fixes for object detection (#5613) · 31ae57eb
    pkulzc authored
    * Internal change.
    
    PiperOrigin-RevId: 213914693
    
    * Add original_image_spatial_shape tensor in input dictionary to store shape of the original input image
    
    PiperOrigin-RevId: 214018767
    
    * Remove "groundtruth_confidences" from decoders use "groundtruth_weights" to indicate label confidence.
    
    This also solves a bug that only surfaced now - random crop routines in core/preprocessor.py did not correctly handle "groundtruth_weight" tensors returned by the decoders.
    
    PiperOrigin-RevId: 214091843
    
    * Update CocoMaskEvaluator to allow for a batch of image info, rather than a single image.
    
    PiperOrigin-RevId: 214295305
    
    * Adding the option to be able to summarize gradients.
    
    PiperOrigin-RevId: 214310875
    
    * Adds FasterRCNN inference on CPU
    
    1. Adds a flag use_static_shapes_for_eval to restrict to the ops that guarantees static shape.
    2. No filtering of overlapping anchors while clipping the anchors when use_static_shapes_for_eval is set to True.
    3. A...
    31ae57eb
preprocessor.proto 15.8 KB