"git@developer.sourcefind.cn:modelzoo/resnet50_tensorflow.git" did not exist on "fe31beaecaf9e07e57df03577eb9331010856722"
Commit f0d22061 authored by stephenwu's avatar stephenwu
Browse files

fixed style from pylint

parent 44e7092c
...@@ -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:
......
...@@ -240,7 +240,7 @@ def generate_classifier_dataset(): ...@@ -240,7 +240,7 @@ def generate_classifier_dataset():
translated_data_dir=FLAGS.translated_input_data_dir, translated_data_dir=FLAGS.translated_input_data_dir,
only_use_en_dev=FLAGS.only_use_en_dev), only_use_en_dev=FLAGS.only_use_en_dev),
"ax-g": "ax-g":
classifier_data_lib.AXgProcessor classifier_data_lib.AXgProcessor
} }
task_name = FLAGS.classification_task_name.lower() task_name = FLAGS.classification_task_name.lower()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment