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
50dd4b4c
Commit
50dd4b4c
authored
Apr 21, 2020
by
Ruoxin Sang
Committed by
A. Unique TensorFlower
Apr 21, 2020
Browse files
Remove fixed `batch_size` passed into the Resnet Keras model.
PiperOrigin-RevId: 307721952
parent
52b48c23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
official/vision/image_classification/resnet/resnet_runnable.py
...ial/vision/image_classification/resnet/resnet_runnable.py
+0
-1
No files found.
official/vision/image_classification/resnet/resnet_runnable.py
View file @
50dd4b4c
...
@@ -72,7 +72,6 @@ class ResnetRunnable(standard_runnable.StandardTrainable,
...
@@ -72,7 +72,6 @@ class ResnetRunnable(standard_runnable.StandardTrainable,
self
.
model
=
resnet_model
.
resnet50
(
self
.
model
=
resnet_model
.
resnet50
(
num_classes
=
imagenet_preprocessing
.
NUM_CLASSES
,
num_classes
=
imagenet_preprocessing
.
NUM_CLASSES
,
batch_size
=
flags_obj
.
batch_size
,
use_l2_regularizer
=
not
flags_obj
.
single_l2_loss_op
)
use_l2_regularizer
=
not
flags_obj
.
single_l2_loss_op
)
lr_schedule
=
common
.
PiecewiseConstantDecayWithWarmup
(
lr_schedule
=
common
.
PiecewiseConstantDecayWithWarmup
(
...
...
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