Unverified Commit 36abfad3 authored by Jon Shlens's avatar Jon Shlens Committed by GitHub
Browse files

Merge pull request #3580 from supercourage/master

Fix comment typos under models/research
parents 059c79ac 94be38c7
...@@ -51,7 +51,7 @@ def distort_color(image, color_ordering=0, fast_mode=True, scope=None): ...@@ -51,7 +51,7 @@ def distort_color(image, color_ordering=0, fast_mode=True, scope=None):
Each color distortion is non-commutative and thus ordering of the color ops Each color distortion is non-commutative and thus ordering of the color ops
matters. Ideally we would randomly permute the ordering of the color ops. matters. Ideally we would randomly permute the ordering of the color ops.
Rather then adding that level of complication, we select a distinct ordering Rather than adding that level of complication, we select a distinct ordering
of color ops for each preprocessing thread. of color ops for each preprocessing thread.
Args: Args:
......
...@@ -166,7 +166,7 @@ def distort_color(image, thread_id=0, scope=None): ...@@ -166,7 +166,7 @@ def distort_color(image, thread_id=0, scope=None):
Each color distortion is non-commutative and thus ordering of the color ops Each color distortion is non-commutative and thus ordering of the color ops
matters. Ideally we would randomly permute the ordering of the color ops. matters. Ideally we would randomly permute the ordering of the color ops.
Rather then adding that level of complication, we select a distinct ordering Rather than adding that level of complication, we select a distinct ordering
of color ops for each preprocessing thread. of color ops for each preprocessing thread.
Args: Args:
......
...@@ -47,7 +47,7 @@ def distort_color(image, color_ordering=0, fast_mode=True, scope=None): ...@@ -47,7 +47,7 @@ def distort_color(image, color_ordering=0, fast_mode=True, scope=None):
Each color distortion is non-commutative and thus ordering of the color ops Each color distortion is non-commutative and thus ordering of the color ops
matters. Ideally we would randomly permute the ordering of the color ops. matters. Ideally we would randomly permute the ordering of the color ops.
Rather then adding that level of complication, we select a distinct ordering Rather than adding that level of complication, we select a distinct ordering
of color ops for each preprocessing thread. of color ops for each preprocessing thread.
Args: Args:
......
...@@ -120,7 +120,7 @@ def distort_color(image, color_ordering=0, fast_mode=True, scope=None): ...@@ -120,7 +120,7 @@ def distort_color(image, color_ordering=0, fast_mode=True, scope=None):
Each color distortion is non-commutative and thus ordering of the color ops Each color distortion is non-commutative and thus ordering of the color ops
matters. Ideally we would randomly permute the ordering of the color ops. matters. Ideally we would randomly permute the ordering of the color ops.
Rather then adding that level of complication, we select a distinct ordering Rather than adding that level of complication, we select a distinct ordering
of color ops for each preprocessing thread. of color ops for each preprocessing thread.
Args: Args:
image: 3-D Tensor containing single image in [0, 1]. image: 3-D Tensor containing single image in [0, 1].
......
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