Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./wikidataSpider/TrainDataBaseOnWiki/extractTrainingData.py报错 #81

Open
BlockChanZJ opened this issue Oct 28, 2020 · 11 comments
Open

Comments

@BlockChanZJ
Copy link

File "extractTrainingData.py", line 86, in
answer = db.findRelationBetweenEntities(entityList[i].get('entity1'))
AttributeError: 'Neo4j' object has no attribute 'findRelationBetweenEntities'

Neo4j 类里面没有findRelationBetweenEntities函数...请问是因为文件修改删掉了吗...

@zihao-miao
Copy link

File "extractTrainingData.py", line 86, in
answer = db.findRelationBetweenEntities(entityList[i].get('entity1'))
AttributeError: 'Neo4j' object has no attribute 'findRelationBetweenEntities'

Neo4j 类里面没有findRelationBetweenEntities函数...请问是因为文件修改删掉了吗...

你做到那一步了?那个辅助训练集标注工具你弄了吗?我的不知道怎么解决。这一步我不记得我做没做过

@tongbao96
Copy link

你们跑通了吗

@GritYolo
Copy link

File "extractTrainingData.py", line 86, in
answer = db.findRelationBetweenEntities(entityList[i].get('entity1'))
AttributeError: 'Neo4j' object has no attribute 'findRelationBetweenEntities'

Neo4j 类里面没有findRelationBetweenEntities函数...请问是因为文件修改删掉了吗...

同问,findRelationBetweenEntities函数没有呢,程序bug出在找不到这个函数这了

@GritYolo
Copy link

你们跑通了吗

没有,卡在
File "extractTrainingData.py", line 86, in
answer = db.findRelationBetweenEntities(entityList[i].get('entity1'))
AttributeError: 'Neo4j' object has no attribute 'findRelationBetweenEntities'

Neo4j 类里面没有findRelationBetweenEntities函数

@tongbao96
Copy link

tongbao96 commented Dec 14, 2020 via email

@tongbao96
Copy link

可以加你的Q吗

@GritYolo
Copy link

GritYolo commented Dec 15, 2020 via email

@CrisJk
Copy link
Collaborator

CrisJk commented Dec 16, 2020

findRelationBetweenEntities

@BlockChanZJ 修改为这个文件里的函数哈https://github.com/qq547276542/Agriculture_KnowledgeGraph/blob/master/demo/Model/neo_models.py

@CrisJk
Copy link
Collaborator

CrisJk commented Dec 16, 2020

你们跑通了吗

没有,卡在
File "extractTrainingData.py", line 86, in
answer = db.findRelationBetweenEntities(entityList[i].get('entity1'))
AttributeError: 'Neo4j' object has no attribute 'findRelationBetweenEntities'

Neo4j 类里面没有findRelationBetweenEntities函数
可以尝试修改为这个文件里的函数
#81 (comment)

@GritYolo
Copy link

extractTrainingData.py 要运行得太慢了,怎么能提速呢?

@CrisJk
Copy link
Collaborator

CrisJk commented Dec 16, 2020

extractTrainingData.py 要运行得太慢了,怎么能提速呢?

这个得你得自己研究下了,我感觉无非就是多几个线程搞搞。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants