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
e96371f0
Commit
e96371f0
authored
Apr 29, 2021
by
Yeqing Li
Committed by
A. Unique TensorFlower
Apr 29, 2021
Browse files
Internal change
PiperOrigin-RevId: 371243570
parent
08acb07e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
official/vision/beta/projects/assemblenet/train_test.py
official/vision/beta/projects/assemblenet/train_test.py
+4
-1
No files found.
official/vision/beta/projects/assemblenet/train_test.py
View file @
e96371f0
...
...
@@ -48,7 +48,7 @@ class TrainTest(tf.test.TestCase):
# pylint: enable=g-complex-comprehension
tfexample_utils
.
dump_to_tfrecord
(
self
.
_data_path
,
tf_examples
=
examples
)
def
disable_
test_run
(
self
):
def
test_run
(
self
):
saved_flag_values
=
flagsaver
.
save_flag_values
()
train_lib
.
tfm_flags
.
define_flags
()
FLAGS
.
mode
=
'train'
...
...
@@ -58,6 +58,9 @@ class TrainTest(tf.test.TestCase):
num_frames
=
4
params_override
=
json
.
dumps
({
'runtime'
:
{
'mixed_precision_dtype'
:
'float32'
,
},
'trainer'
:
{
'train_steps'
:
1
,
'validation_steps'
:
1
,
...
...
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