Comments (5)
可以给出具体错误码?
另外,有先运行python initial.py吗?
from information-extraction-chinese.
换成了python3.5版本,tf 版本1.3.0 按照教程,运行了 initial.py --> train_GRU.py -->test_GRU.py 运行报错如下:
gykj@ubuntu:~/git/Information-Extraction-Chinese/RE_BGRU_2ATT$ python3 test_GRU.py
2017-08-29 10:05:16.610068: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2017-08-29 10:05:16.610190: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017-08-29 10:05:16.610234: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
Segmentation fault (core dumped)
from information-extraction-chinese.
将tf 版本重新安装成1.2.0, 再次运行test_GRU.py,出现如下错误,谢谢您的帮助
NotFoundError (see above for traceback): ./model/ATT_GRU_model-9000.data-00000-of-00001
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
from information-extraction-chinese.
你好,如果自己重新train的话,是要把test_GRU.py里面的main函数的第一行(127行)换成自己的model名字:
pathname = "./model/ATT_GRU_model-9000"
如果是用我提供的预训练好的模型,请重新pull这个git仓库(抱歉之前少上传了一个模型文件),然后跑initial.py -> test_GRU.py试一下。
from information-extraction-chinese.
谢谢您的解答,运行没问题
from information-extraction-chinese.
Related Issues (20)
- 请问关于NER_IDCNN_CRF中关于训练次数的疑问
- 请问关于NER_IDCNN_CRF中关于训练次数的疑问
- 关于运行结果不一致的问题 HOT 1
- 关于network和train里的参数问题 HOT 1
- 【seg_features】的长度问题
- 作者你好,想请问能否公布一下如何获取数据的代码
- test_GRU如何计算F1值 HOT 2
- GRU模型如何计算F1,recall,如果想根据关系的类别查看准确率该怎么做呢
- 训练新标签
- 如何识别新加的实体类型
- 数据标注工具
- 如何训练自己的数据呢?数据怎么标注?可不可以把实体标签换成自己设计的呢?
- 单个关系一般需要多少的数据量进行训练可以达到一个理想的效果
- 作者 你好,关于关系抽取那块test_GRU跑出来的precision超级低 HOT 1
- 测试输出报错:InvalidArgumentError (see above for traceback): ConcatOp : Dimensions
- test_GRU.py文件如何输出测试准确率呢? HOT 1
- test_GRU
- test_GRU运行第一个main函数,出现错误
- RE关系抽取中数据集的vec.txt
- 让test生成三元组并保存,该怎么做呢
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from information-extraction-chinese.