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
cf58c635
Commit
cf58c635
authored
Feb 10, 2021
by
Chen Chen
Committed by
A. Unique TensorFlower
Feb 10, 2021
Browse files
Set tfds_download to True to fix sentence_prediction_dataloader_test.py in oss
PiperOrigin-RevId: 356906879
parent
13c8470b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
official/nlp/data/sentence_prediction_dataloader_test.py
official/nlp/data/sentence_prediction_dataloader_test.py
+3
-0
No files found.
official/nlp/data/sentence_prediction_dataloader_test.py
View file @
cf58c635
...
@@ -164,6 +164,7 @@ class SentencePredictionTfdsDataLoaderTest(tf.test.TestCase,
...
@@ -164,6 +164,7 @@ class SentencePredictionTfdsDataLoaderTest(tf.test.TestCase,
input_path
=
''
if
use_tfds
else
tf_record_path
,
input_path
=
''
if
use_tfds
else
tf_record_path
,
tfds_name
=
'glue/mrpc'
if
use_tfds
else
''
,
tfds_name
=
'glue/mrpc'
if
use_tfds
else
''
,
tfds_split
=
'train'
if
use_tfds
else
''
,
tfds_split
=
'train'
if
use_tfds
else
''
,
tfds_download
=
True
,
text_fields
=
text_fields
,
text_fields
=
text_fields
,
global_batch_size
=
batch_size
,
global_batch_size
=
batch_size
,
seq_length
=
seq_length
,
seq_length
=
seq_length
,
...
@@ -195,6 +196,7 @@ class SentencePredictionTfdsDataLoaderTest(tf.test.TestCase,
...
@@ -195,6 +196,7 @@ class SentencePredictionTfdsDataLoaderTest(tf.test.TestCase,
input_path
=
''
if
use_tfds
else
tf_record_path
,
input_path
=
''
if
use_tfds
else
tf_record_path
,
tfds_name
=
'glue/mrpc'
if
use_tfds
else
''
,
tfds_name
=
'glue/mrpc'
if
use_tfds
else
''
,
tfds_split
=
'train'
if
use_tfds
else
''
,
tfds_split
=
'train'
if
use_tfds
else
''
,
tfds_download
=
True
,
text_fields
=
text_fields
,
text_fields
=
text_fields
,
global_batch_size
=
batch_size
,
global_batch_size
=
batch_size
,
seq_length
=
seq_length
,
seq_length
=
seq_length
,
...
@@ -228,6 +230,7 @@ class SentencePredictionTfdsDataLoaderTest(tf.test.TestCase,
...
@@ -228,6 +230,7 @@ class SentencePredictionTfdsDataLoaderTest(tf.test.TestCase,
input_path
=
''
if
use_tfds
else
tf_record_path
,
input_path
=
''
if
use_tfds
else
tf_record_path
,
tfds_name
=
'glue/mrpc'
if
use_tfds
else
''
,
tfds_name
=
'glue/mrpc'
if
use_tfds
else
''
,
tfds_split
=
'train'
if
use_tfds
else
''
,
tfds_split
=
'train'
if
use_tfds
else
''
,
tfds_download
=
True
,
text_fields
=
text_fields
,
text_fields
=
text_fields
,
global_batch_size
=
batch_size
,
global_batch_size
=
batch_size
,
seq_length
=
seq_length
,
seq_length
=
seq_length
,
...
...
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