1498d9419b799c3df61d8a8b63a879dcbca4504e,research/deeplab/export_model.py,,main,#Any#,110
Before Change
// Crop the valid regions from the predictions.
semantic_predictions = tf.slice(
raw_predictions,
[0, 0, 0] ,
[1, resized_image_size[0], resized_image_size[1]])
// Resize back the prediction to the original image size.
def _resize_label(label, label_size):
After Change
semantic_predictions = _resize_label(semantic_predictions, image_size)
semantic_predictions = tf.identity(semantic_predictions, name=_OUTPUT_NAME)
semantic_probabilities = tf.image.resize_bilinear(
semantic_probabilities, image_size, align_corners=True,
name=_OUTPUT_PROB_NAME)
if FLAGS.quantize_delay_step >= 0:
contrib_quantize.create_eval_graph()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: tensorflow/models
Commit Name: 1498d9419b799c3df61d8a8b63a879dcbca4504e
Time: 2019-11-11
Author: YknZhu@users.noreply.github.com
File Name: research/deeplab/export_model.py
Class Name:
Method Name: main
Project Name: tensorflow/models
Commit Name: e7de233bb7fd9a0be17a98f1674dc8970416121e
Time: 2017-10-27
Author: rathodv@google.com
File Name: research/object_detection/core/box_predictor.py
Class Name: MaskRCNNBoxPredictor
Method Name: _predict
Project Name: analysiscenter/batchflow
Commit Name: 600cc949cdee515015535e30c5fc909fe903b3af
Time: 2017-12-19
Author: a.kozhevin@analysiscenter.ru
File Name: dataset/models/tf/layers/resize.py
Class Name:
Method Name: resize_bilinear_additive