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

oracle_grounded_graph_graphq/result/ 缺失 #7

Open
JimXiongGM opened this issue Oct 20, 2020 · 19 comments
Open

oracle_grounded_graph_graphq/result/ 缺失 #7

JimXiongGM opened this issue Oct 20, 2020 · 19 comments

Comments

@JimXiongGM
Copy link

您好,在执行 code/running/freebase/pipeline_cwq.py 的时候,设置module = "2.1",报错:

[Errno 2] No such file or directory: 'SPARQA/dataset_graphquestions/oracle_grounded_graph_graphq/result/'

请问应该如何解决呢?谢谢~

@simba0626
Copy link
Collaborator

simba0626 commented Oct 20, 2020 via email

@JimXiongGM
Copy link
Author

是我的问题,目前已经解决,谢谢您的回复~

@JimXiongGM
Copy link
Author

您好,在执行code/running/freebase/pipeline_graphq.py,设置module = "2.1"时:

No such file or directory: 'SPARQA/dataset_graphquestions/2019.05.13_test_answers'

请问应该如何解决呢?谢谢~

@simba0626
Copy link
Collaborator

simba0626 commented Nov 10, 2020 via email

@JimXiongGM
Copy link
Author

非常感谢~(∩_∩)

@simba0626
Copy link
Collaborator

您好,你本地试一下,按照README.md更新一下code和data
有问题的话,请留言
感谢~

@JimXiongGM
Copy link
Author

您好,在执行 code/running/freebase/pipeline_cwq.py 的时候,设置module = "2.3_word_match",又报错:

Exception has occurred: ModuleNotFoundError
No module named 'grounding.ranking.path_match_nn'
  File "SPARQA/code/grounding/ranking/path_match_word_level/path_match_interface.py", line 30, in set_model_data
    self.model = torch.load(model_file,map_location=lambda storage, location: storage)

请问应该如何解决呢?谢谢~

@simba0626
Copy link
Collaborator

simba0626 commented Nov 16, 2020 via email

@JimXiongGM
Copy link
Author

relortype_level_words是我的问题,刚发出来就删除了,现在是No module named 'grounding.ranking.path_match_nn'的问题~

@simba0626
Copy link
Collaborator

simba0626 commented Nov 16, 2020 via email

@simba0626
Copy link
Collaborator

simba0626 commented Nov 16, 2020 via email

@JimXiongGM
Copy link
Author

好,感谢感谢,这个工作代码量真的好大啊

@simba0626
Copy link
Collaborator

simba0626 commented Nov 16, 2020 via email

@JimXiongGM
Copy link
Author

您好,跑graphquestion时,pipeline_graphq.py设置module = "2.2",运行过程中run_grounded_graph_generation_by_structure_transformation函数中的grounded_graph_forest变量一直是[],即generate_candidates_by_2_1_grounded_graph_interface函数的返回值oracle_graphs一直是[],想问下这是正常现象吗?

@simba0626
Copy link
Collaborator

simba0626 commented Nov 16, 2020 via email

@Dionysusssss
Copy link

你好,在跑2.2的时候oracle_grounded_graph_graphq/result/ 的缺失导致grounded_graph_forest,为空请问如何解决?本地路径导向的是什么文件?

@simba0626
Copy link
Collaborator

您好,您需要下载README.md提示的Oracle Grounded Graph,它解压以后就是result里面的文件,也可能我没讲清楚,抱歉。

@simba0626
Copy link
Collaborator

下载并生成,有点繁琐,为帮助理解,针对数据集提供2.2样例输出,具体参见dataset_graphquestions/output_graphq和dataset_cwq_1_1/output_cwq下面的2.2打头的文件夹

@Dionysusssss
Copy link

okok 非常感谢!!

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

3 participants