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
f0d22061
Commit
f0d22061
authored
Feb 01, 2021
by
stephenwu
Browse files
fixed style from pylint
parent
44e7092c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
official/nlp/data/classifier_data_lib.py
official/nlp/data/classifier_data_lib.py
+4
-3
No files found.
official/nlp/data/classifier_data_lib.py
View file @
f0d22061
...
@@ -1419,9 +1419,10 @@ def generate_tf_record_from_data_file(processor,
...
@@ -1419,9 +1419,10 @@ def generate_tf_record_from_data_file(processor,
num_training_data
=
0
num_training_data
=
0
if
train_data_output_path
:
if
train_data_output_path
:
train_input_data_examples
=
processor
.
get_train_examples
(
data_dir
)
train_input_data_examples
=
processor
.
get_train_examples
(
data_dir
)
file_based_convert_examples_to_features
(
train_input_data_examples
,
label_list
,
file_based_convert_examples_to_features
(
train_input_data_examples
,
max_seq_length
,
tokenizer
,
label_list
,
max_seq_length
,
train_data_output_path
,
label_type
)
tokenizer
,
train_data_output_path
,
label_type
)
num_training_data
=
len
(
train_input_data_examples
)
num_training_data
=
len
(
train_input_data_examples
)
if
eval_data_output_path
:
if
eval_data_output_path
:
...
...
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