-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Comments
你做到那一步了?那个辅助训练集标注工具你弄了吗?我的不知道怎么解决。这一步我不记得我做没做过 |
你们跑通了吗 |
同问,findRelationBetweenEntities函数没有呢,程序bug出在找不到这个函数这了 |
没有,卡在 Neo4j 类里面没有findRelationBetweenEntities函数 |
我的卡在answer变量的问题,说在引用前就定义了还是怎么了------------------ 原始邮件 ------------------
发件人: "GritYolo"<notifications@github.com>
发送时间: 2020年12月14日(星期一) 晚上11:23
收件人: "qq547276542/Agriculture_KnowledgeGraph"<Agriculture_KnowledgeGraph@noreply.github.com>;
抄送: "baotongnoob"<448276274@qq.com>;"Comment"<comment@noreply.github.com>;
主题: Re: [qq547276542/Agriculture_KnowledgeGraph] ./wikidataSpider/TrainDataBaseOnWiki/extractTrainingData.py报错 (#81)
|
可以加你的Q吗 |
2370267832------------------ 原始邮件 ------------------
发件人: "baotongnoob"<notifications@github.com>
发送时间: 2020年12月15日(星期二) 上午10:28
收件人: "qq547276542/Agriculture_KnowledgeGraph"<Agriculture_KnowledgeGraph@noreply.github.com>;
抄送: "GritYolo"<ttr326245185@qq.com>;"Comment"<comment@noreply.github.com>;
主题: Re: [qq547276542/Agriculture_KnowledgeGraph] ./wikidataSpider/TrainDataBaseOnWiki/extractTrainingData.py报错 (#81)
|
@BlockChanZJ 修改为这个文件里的函数哈https://github.com/qq547276542/Agriculture_KnowledgeGraph/blob/master/demo/Model/neo_models.py |
|
extractTrainingData.py 要运行得太慢了,怎么能提速呢? |
这个得你得自己研究下了,我感觉无非就是多几个线程搞搞。。。 |
File "extractTrainingData.py", line 86, in
answer = db.findRelationBetweenEntities(entityList[i].get('entity1'))
AttributeError: 'Neo4j' object has no attribute 'findRelationBetweenEntities'
Neo4j 类里面没有findRelationBetweenEntities函数...请问是因为文件修改删掉了吗...
The text was updated successfully, but these errors were encountered: