bert icon indicating copy to clipboard operation
bert copied to clipboard

Still met key error with my data set

Open mice4869 opened this issue 7 years ago • 1 comments

I keep meeting the key error with my own data set Here is the error: Traceback (most recent call last): File "D:/diabetes/run_classifier.py", line 950, in tf.app.run() File "C:\Users\79093\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\platform\app.py", line 125, in run _sys.exit(main(argv)) File "D:/diabetes/run_classifier.py", line 863, in main train_examples, label_list, FLAGS.max_seq_length, tokenizer, train_file) File "D:/diabetes/run_classifier.py", line 498, in file_based_convert_examples_to_features max_seq_length, tokenizer) File "D:/diabetes/run_classifier.py", line 469, in convert_single_example label_id = label_map[example.label] KeyError: '\ufeff2'

mice4869 avatar Jan 10 '19 06:01 mice4869

What was your solution to this, mice?

bradfox2 avatar Mar 04 '19 06:03 bradfox2