Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
19a49ae3
Commit
19a49ae3
authored
Jun 18, 2021
by
Fan Yang
Committed by
A. Unique TensorFlower
Jun 18, 2021
Browse files
Internal change
PiperOrigin-RevId: 380243629
parent
7793eb27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
official/vision/beta/ops/augment.py
official/vision/beta/ops/augment.py
+2
-1
No files found.
official/vision/beta/ops/augment.py
View file @
19a49ae3
...
...
@@ -1205,7 +1205,8 @@ class RandAugment(ImageAugment):
self
.
magnitude
=
float
(
magnitude
)
self
.
cutout_const
=
float
(
cutout_const
)
self
.
translate_const
=
float
(
translate_const
)
self
.
prob_to_apply
=
prob_to_apply
self
.
prob_to_apply
=
(
float
(
prob_to_apply
)
if
prob_to_apply
is
not
None
else
None
)
self
.
available_ops
=
[
'AutoContrast'
,
'Equalize'
,
'Invert'
,
'Rotate'
,
'Posterize'
,
'Solarize'
,
'Color'
,
'Contrast'
,
'Brightness'
,
'Sharpness'
,
'ShearX'
,
'ShearY'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment