Update object detection post processing and fixes boxes padding/clipping issue. (#5026)
* Merged commit includes the following changes:
207771702 by Zhichao Lu:
Refactoring evaluation utilities so that it is easier to introduce new DetectionEvaluators with eval_metric_ops.
--
207758641 by Zhichao Lu:
Require tensorflow version 1.9+ for running object detection API.
--
207641470 by Zhichao Lu:
Clip `num_groundtruth_boxes` in pad_input_data_to_static_shapes() to `max_num_boxes`. This prevents a scenario where tensors are sliced to an invalid range in model_lib.unstack_batch().
--
207621728 by Zhichao Lu:
This CL adds a FreezableBatchNorm that inherits from the Keras BatchNormalization layer, but supports freezing the `training` parameter at construction time instead of having to do it in the `call` method.
It also adds a method to the `KerasLayerHyperparams` class that will build an appropriate FreezableBatchNorm layer according to the hyperparameter confi...
Showing
This diff is collapsed.
File moved
Please register or sign in to comment