Giter Site home page Giter Site logo

Comments (11)

zihao-miao avatar zihao-miao commented on June 12, 2024

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

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

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

from agriculture_knowledgegraph.

tongbao96 avatar tongbao96 commented on June 12, 2024

你们跑通了吗

from agriculture_knowledgegraph.

GritYolo avatar GritYolo commented on June 12, 2024

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

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

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

from agriculture_knowledgegraph.

GritYolo avatar GritYolo commented on June 12, 2024

你们跑通了吗

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

Neo4j 类里面没有findRelationBetweenEntities函数

from agriculture_knowledgegraph.

tongbao96 avatar tongbao96 commented on June 12, 2024

from agriculture_knowledgegraph.

tongbao96 avatar tongbao96 commented on June 12, 2024

可以加你的Q吗

from agriculture_knowledgegraph.

GritYolo avatar GritYolo commented on June 12, 2024

from agriculture_knowledgegraph.

CrisJk avatar CrisJk commented on June 12, 2024

findRelationBetweenEntities

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

from agriculture_knowledgegraph.

CrisJk avatar CrisJk commented on June 12, 2024

你们跑通了吗

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

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

from agriculture_knowledgegraph.

GritYolo avatar GritYolo commented on June 12, 2024

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

from agriculture_knowledgegraph.

CrisJk avatar CrisJk commented on June 12, 2024

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

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

from agriculture_knowledgegraph.

Related Issues (20)

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.