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
d945e99f
Commit
d945e99f
authored
Dec 23, 2018
by
Toby Boyd
Browse files
fix some lint errors.
parent
863a44ce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
official/resnet/keras/keras_common.py
official/resnet/keras/keras_common.py
+1
-2
official/resnet/keras/keras_common_test.py
official/resnet/keras/keras_common_test.py
+0
-1
No files found.
official/resnet/keras/keras_common.py
View file @
d945e99f
...
...
@@ -21,7 +21,7 @@ from __future__ import print_function
import
time
from
absl
import
flags
import
numpy
as
np
import
numpy
as
np
# pylint: disable=g-bad-import-order
import
tensorflow
as
tf
# pylint: disable=g-bad-import-order
from
tensorflow.python.keras.optimizer_v2
import
gradient_descent
as
gradient_descent_v2
...
...
@@ -207,4 +207,3 @@ def get_synth_input_fn(height, width, num_channels, num_classes,
return
data
return
input_fn
official/resnet/keras/keras_common_test.py
View file @
d945e99f
...
...
@@ -72,4 +72,3 @@ class KerasCommonTests(tf.test.TestCase):
def
_build_eval_output
(
self
,
top_1
,
eval_loss
):
eval_output
=
[
np
.
float64
(
eval_loss
),
np
.
float64
(
top_1
)]
return
eval_output
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