Code Monkey home page Code Monkey logo

chinese-qa-with-bert's People

Contributors

sunlanchang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chinese-qa-with-bert's Issues

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

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> `

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.