sunlanchang / Chinese-QA-with-BERT

中文阅读理解
Apache License 2.0
24 stars 5 forks source link

WARNING: your terminal doesn't support cursor position requests (CPR). #1

Open Datebasesystem opened 4 years ago

Datebasesystem commented 4 years ago

WARNING: your terminal doesn't support cursor position requests (CPR). 出现一个这个警告就卡主了是为什么啊?求大佬解答 完整输出 `WARNING:tensorflow:From /usr/local/d2l-zh/BERT/somSQUAD/Chinese-QA-with-BERT/optimization.py:87: The name tf.train.Optimizer is deprecated. Please use tf.compat.v1.train.Optimizer instead.

WARNING:tensorflow:From run_cmrc2018_drcd_baseline.py:164: The name tf.set_random_seed is deprecated. Please use tf.compat.v1.set_random_seed instead.

WARNING:tensorflow:From run_cmrc2018_drcd_baseline.py:1469: The name tf.app.run is deprecated. Please use tf.compat.v1.app.run instead.

WARNING:tensorflow:From run_cmrc2018_drcd_baseline.py:1230: The name tf.logging.set_verbosity is deprecated. Please use tf.compat.v1.logging.set_verbosity instead.

W0512 17:44:41.489766 140518317541120 module_wrapper.py:139] From run_cmrc2018_drcd_baseline.py:1230: The name tf.logging.set_verbosity is deprecated. Please use tf.compat.v1.logging.set_verbosity instead.

WARNING:tensorflow:From run_cmrc2018_drcd_baseline.py:1230: The name tf.logging.INFO is deprecated. Please use tf.compat.v1.logging.INFO instead.

W0512 17:44:41.489905 140518317541120 module_wrapper.py:139] From run_cmrc2018_drcd_baseline.py:1230: The name tf.logging.INFO is deprecated. Please use tf.compat.v1.logging.INFO instead.

WARNING:tensorflow:From /usr/local/d2l-zh/BERT/somSQUAD/Chinese-QA-with-BERT/modeling.py:92: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.

W0512 17:44:41.490061 140518317541120 module_wrapper.py:139] From /usr/local/d2l-zh/BERT/somSQUAD/Chinese-QA-with-BERT/modeling.py:92: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.

WARNING:tensorflow:From run_cmrc2018_drcd_baseline.py:1236: The name tf.gfile.MakeDirs is deprecated. Please use tf.io.gfile.makedirs instead.

W0512 17:44:41.490543 140518317541120 module_wrapper.py:139] From run_cmrc2018_drcd_baseline.py:1236: The name tf.gfile.MakeDirs is deprecated. Please use tf.io.gfile.makedirs instead.

WARNING:tensorflow: The TensorFlow contrib module will not be included in TensorFlow 2.0. For more information, please see:

W0512 17:44:41.546262 140518317541120 lazy_loader.py:50] The TensorFlow contrib module will not be included in TensorFlow 2.0. For more information, please see:

WARNING:tensorflow:From run_cmrc2018_drcd_baseline.py:282: The name tf.gfile.Open is deprecated. Please use tf.io.gfile.GFile instead.

W0512 17:44:41.767299 140518317541120 module_wrapper.py:139] From run_cmrc2018_drcd_baseline.py:282: The name tf.gfile.Open is deprecated. Please use tf.io.gfile.GFile instead.

WARNING:tensorflow:From run_cmrc2018_drcd_baseline.py:359: The name tf.logging.info is deprecated. Please use tf.compat.v1.logging.info instead.

W0512 17:44:45.314534 140518317541120 module_wrapper.py:139] From run_cmrc2018_drcd_baseline.py:359: The name tf.logging.info is deprecated. Please use tf.compat.v1.logging.info instead.

INFO:tensorflow:**read_squad_examples complete!** I0512 17:44:45.314681 140518317541120 run_cmrc2018_drcd_baseline.py:359] **read_squad_examples complete!** WARNING:tensorflow:From run_cmrc2018_drcd_baseline.py:1162: The name tf.python_io.TFRecordWriter is deprecated. Please use tf.io.TFRecordWriter instead.

W0512 17:44:45.321820 140518317541120 module_wrapper.py:139] From run_cmrc2018_drcd_baseline.py:1162: The name tf.python_io.TFRecordWriter is deprecated. Please use tf.io.TFRecordWriter instead.

/usr/local/d2l-zh/BERT/somSQUAD/Chinese-QA-with-BERT/run_cmrc2018_drcd_baseline.py(375)convert_examples_to_features() 374 ipdb.set_trace() --> 375 for (example_index, example) in enumerate(examples): 376 query_tokens = tokenizer.tokenize(example.question_text)

0mipdb> WARNING: your terminal doesn't support cursor position requests (CPR). 0mipdb> `

chuzhifeng commented 4 years ago

你好,我也遇到了相同的问题,请问您解决了吗