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
4cbe79bc
Commit
4cbe79bc
authored
Sep 21, 2021
by
Vishnu Banna
Browse files
var names
parent
142444e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
15 deletions
+6
-15
official/vision/beta/projects/yolo/dataloaders/classification_input.py
...on/beta/projects/yolo/dataloaders/classification_input.py
+6
-15
No files found.
official/vision/beta/projects/yolo/dataloaders/classification_input.py
View file @
4cbe79bc
...
@@ -19,25 +19,16 @@ class Parser(parser.Parser):
...
@@ -19,25 +19,16 @@ class Parser(parser.Parser):
scale
=
[
128
,
448
],
scale
=
[
128
,
448
],
dtype
=
'float32'
):
dtype
=
'float32'
):
"""Initializes parameters for parsing annotations in the dataset.
"""Initializes parameters for parsing annotations in the dataset.
Args:
Args:
output_size: `Tensor` or `list` for [height, width] of output image. The
output_size: `Tensor` or `list` for [height, width] of output image. The
output_size should be divided by the largest feature stride 2^max_level.
output_size should be divided by the largest feature stride 2^max_level.
num_classes: `float`, number of classes.
num_classes: `float`, number of classes.
aug_rand_saturation: `bool`, if True, augment training with random
aug_policy: An optional Augmentation object to choose from AutoAugment and
saturation.
RandAugment.
aug_rand_brightness: `bool`, if True, augment training with random
scale: A `List[int]`, minimum and maximum image shape range.
brightness.
dtype: `str`, cast output image in dtype. It can be 'float32', 'float16',
aug_rand_zoom: `bool`, if True, augment training with random
or 'bfloat16'.
zoom.
aug_rand_rotate: `bool`, if True, augment training with random
rotate.
aug_rand_hue: `bool`, if True, augment training with random
hue.
aug_rand_aspect: `bool`, if True, augment training with random
aspect.
scale: 'list', `Tensor` or `list` for [low, high] of the bounds of the
random scale.
seed: an `int` for the seed used by tf.random
"""
"""
self
.
_output_size
=
output_size
self
.
_output_size
=
output_size
if
aug_policy
:
if
aug_policy
:
...
...
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