Add more eval metrics to model_main and support group norm for mobilenet v1 based models.#5843
Merged
pkulzc merged 2 commits intotensorflow:masterfrom Dec 14, 2018
Merged
Add more eval metrics to model_main and support group norm for mobilenet v1 based models.#5843pkulzc merged 2 commits intotensorflow:masterfrom
pkulzc merged 2 commits intotensorflow:masterfrom
Conversation
223150784 by Sergio Guadarrama:
Allow using batch norm scale parameters for Inception models.
--
221391590 by Sergio Guadarrama:
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.
--
221342582 by Sergio Guadarrama:
Internal change
220817084 by Sergio Guadarrama:
Internal change
216005108 by Sergio Guadarrama:
Introduce hparam `use_bounded_activation` for NASNet. The hparam decides whether to use
1. bounded activation
2. clip_by_value for the add operands and bounded activation after add operator.
3. bounded activation before 'none' and 'pooling' branch
The restriction on the tensor value range makes it compatible with quantized inference.
--
PiperOrigin-RevId: 223150784
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
jch1
approved these changes
Dec 13, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.