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
b792005c
Commit
b792005c
authored
Sep 09, 2020
by
Alan Chiao
Committed by
A. Unique TensorFlower
Sep 09, 2020
Browse files
Fix syntax issue causing input shape to not be set properly for resnet.
PiperOrigin-RevId: 330857499
parent
38db214b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
official/benchmark/models/resnet_imagenet_main.py
official/benchmark/models/resnet_imagenet_main.py
+1
-2
No files found.
official/benchmark/models/resnet_imagenet_main.py
View file @
b792005c
...
...
@@ -145,8 +145,7 @@ def run(flags_obj):
# output format should be same as the keras backend image data format or just
# channel-last format.
use_keras_image_data_format
=
\
(
flags_obj
.
model
==
'mobilenet'
or
flags_obj
.
model
==
'mobilenet_pretrained'
)
(
flags_obj
.
model
==
'mobilenet'
or
flags_obj
.
model
==
'mobilenet_pretrained'
)
train_input_dataset
=
input_fn
(
is_training
=
True
,
...
...
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