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

数据使用 #1

Closed
linWujl opened this issue Jun 13, 2018 · 11 comments
Closed

数据使用 #1

linWujl opened this issue Jun 13, 2018 · 11 comments

Comments

@linWujl
Copy link

linWujl commented Jun 13, 2018

你好,首先感谢代码开源;
我在阅读代码时,没有发现在训练阶段哪个地方使用了原始的xml格式的数据,好像是.npz的数据,这里跟readme说明是否有出入,谢谢!

@howardhsu
Copy link
Owner

howardhsu commented Jun 13, 2018 via email

@linWujl
Copy link
Author

linWujl commented Jun 14, 2018

谢谢,评估的时候用的数据好像是test,也就是测试模型的效果,那在训练阶段用的数据呢,不是官方提供的train的xml数据吗,看了代码好像是读取的npz格式的数据,这个数据是原始训练集处理得来的吗,谢谢。

@howardhsu
Copy link
Owner

howardhsu commented Jun 14, 2018 via email

@lsx13
Copy link

lsx13 commented Jul 4, 2018

您好!感谢开源,我用的是python 2.7.12,pytorch 0.3.1,运行的结果F1值跟论文中稍有不同。可否问下,这个开源代码按readme执行下来,是能正好得到论文中描述的结果吗?

@howardhsu
Copy link
Owner

howardhsu commented Jul 4, 2018 via email

@zhangzhoubin
Copy link

你好,非常感谢你的源代码。我运行你的代码时,evaluation.py(laptop)文件 出现java -cp script/eval.jar Main.Aspects不能加载,我查看了一下应该是这个文件没有,还有就是运行evaluation.py(restaurant)出现 IndexError: list index out of range 我试着调试课一下,发现还是没法解决。能帮帮忙吗

@howardhsu
Copy link
Owner

you forgot to download the official evaluation code/data.

@zhangzhoubin
Copy link

data/official_data/pred.xml 这个文件在哪下载,找不见

@howardhsu
Copy link
Owner

howardhsu commented Sep 17, 2018 via email

@linWujl
Copy link
Author

linWujl commented Oct 11, 2018

Hi, I wonder whether something wrong with the statistic of the dataset semeval-2016 restaurant.
There are 2000 sentences in the file, and 2507 opinion targets with 627 of the opinion targets are 'NULL'. So how to get the number 1743 of aspect terms in your paper.
The test dataset has the same question.
Thanks for your answer.

@howardhsu
Copy link
Owner

howardhsu commented Oct 11, 2018 via email

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

4 participants