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

graph_construction.py error message #3

Open
ruida opened this issue Mar 9, 2020 · 1 comment
Open

graph_construction.py error message #3

ruida opened this issue Mar 9, 2020 · 1 comment

Comments

@ruida
Copy link

ruida commented Mar 9, 2020

python graph_construction.py
Leave me those error messages. Any input?

url relate problems?

Thanks.

There are some errors in the retrieving process! class1=bus, class2=bus
There are some errors in the retrieving process! class1=bus, class2=bus
...
There are some errors in the retrieving process! class1=boat, class2=pottedplant
There are some errors in the retrieving process! class1=boat, class2=pottedplant
...

@linerhome
Copy link

linerhome commented Sep 20, 2020

上问回答:
http://api.conceptnet.io/related/c/en/boat?filter=/c/en/potted_plant

这样能找到

{
"@id": "/c/en/boat",
"related": [
{
"@id": "/c/en/potted_plant",
"weight": 0.024
}
]
}

——————
AWA1 数据集上基本正确
但是我的问题是:
CUB数据集
There are some errors in the retrieving process! class1=laysan_albatross, class2=swainson_warbler
There are some errors in the retrieving process! class1=laysan_albatross, class2=common_raven
There are some errors in the retrieving process! class1=laysan_albatross, class2=slaty_backed_gull
There are some errors in the retrieving process! class1=laysan_albatross, class2=chuck_will_widow

类似于这种:chuck will widow 在CUB数据集中但是在conceptNet里面找不到,报错。
Not found
'chuck will widow' is not a node in ConceptNet.
请问类似这种情况,构建图应该怎么做?
非常感谢!

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

2 participants