Commit b3ea60c2 authored by Neal Wu's avatar Neal Wu Committed by GitHub
Browse files

Merge pull request #1776 from akssri/patch-2

random_pixel_value_scale has no boxes involved
parents 7c7b01f1 ee1089ee
...@@ -341,7 +341,6 @@ def random_pixel_value_scale(image, minval=0.9, maxval=1.1, seed=None): ...@@ -341,7 +341,6 @@ def random_pixel_value_scale(image, minval=0.9, maxval=1.1, seed=None):
Returns: Returns:
image: image which is the same shape as input image. image: image which is the same shape as input image.
boxes: boxes which is the same shape as input boxes.
""" """
with tf.name_scope('RandomPixelValueScale', values=[image]): with tf.name_scope('RandomPixelValueScale', values=[image]):
color_coef = tf.random_uniform( color_coef = tf.random_uniform(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment