Giter Club home page Giter Club logo

lasertagger-chinese's Introduction

Hi there 👋

  • 🐦 Python Cpp Rust and CV NLP Web
  • 🌱 打工人

lasertagger-chinese's People

Contributors

425776024 avatar dependabot[bot] 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar

lasertagger-chinese's Issues

预测脚本报错

前面几个脚本正常运行,运行4.predict.sh则报错如下:
[predict_main.py:71] input file:F:/▒㷨ƽ̨▒з▒/NLP▒㷨▒▒▒▒з▒/▒ı▒▒▒▒▒/▒ı▒▒▒▒▒LaserTagger/lasertagger-chinese-master/corpus/rephrase_corpus/test.txt
Traceback (most recent call last):
File "predict_main.py", line 105, in
app.run(main)
File "D:\Anaconda3\envs\tf14_cpu\lib\site-packages\absl\app.py", line 299, in run
_run_main(main, args)
File "D:\Anaconda3\envs\tf14_cpu\lib\site-packages\absl\app.py", line 250, in _run_main
sys.exit(main(argv))
File "predict_main.py", line 89, in main
prediction_batch = predictor.predict_batch(sources_batch=sources_batch)
File "F:\▒㷨ƽ̨▒з▒\NLP▒㷨▒▒▒▒з▒\▒ı▒▒▒▒▒\▒ı▒▒▒▒▒LaserTagger\lasertagger-chinese-master\src\utils\predict_utils.py", line 75, in predict_batch
self._id_2_tag[label_id] for label_id in example.get_token_labels()
File "F:\▒㷨ƽ̨▒з▒\NLP▒㷨▒▒▒▒з▒\▒ı▒▒▒▒▒\▒ı▒▒▒▒▒LaserTagger\lasertagger-chinese-master\src\utils\predict_utils.py", line 75, in
self._id_2_tag[label_id] for label_id in example.get_token_labels()
KeyError: -1

项目的TF版本

这个项目对于tf版本有要求吗?看你的requirements文件tf是2.2.0,那么tf1.xx版本不适用吗?

运行data_process.sh报错

你好,我在运行data_process.sh 报错 self._keep_tag_id = self._label_map['KEEP']
KeyError: 'KEEP', 请问是什么原因呢

run_lasserTagger时候,为什么一直会运行到tpu上面

您好,我运行laserTagger时候,do_export设置True,train和eval设置为false。 一直提示
AttributeError: module 'tensorflow.contrib.tpu.python.ops.tpu_ops' has no attribute 'tpu_replicate_metadata'

按理说不应该会在TPU上运行啊。。希望得到您的解答
谢谢

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.