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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while running NER #321
Comments
Thank you for giving us feedback. |
Could you please check whether the raw data exists in your computer (Please refer to https://github.com/graph4ai/graph4nlp/tree/master/examples/pytorch/name_entity_recognition/conll/raw)? |
I see 3 files there: Files and content look fine with IOB data |
We have conducted several tests on different computers with Windows 10 system and can't reproduce this problem. |
At root of graph4nlp folder...which has been forked-cloned...from that path, the Text classifier examples work..Here is the call stack
|
This looks weird. graph4nlp/graph4nlp/pytorch/data/dataset.py Line 393 in 9e1e3b5
and see whether the raw data exists? |
Its not hitting there....Let me debug further and I will keep you posted |
in conll.py
Made it to work...but still I am not sure if this is good change...I will debug this more. |
Actually, this function will not be executed. So I guess there must be some fault. Since we can't reproduce this problem, I suggest you debug it more. Thank you! |
To make it clearer, when instantiating a Dataset (in this case the ConllDataset), the library will check if the raw data are present in the environment, in this case the |
I will close this issue. |
@AlanSwift @SaizhuoWang @yogeshhk I am having this exact issue. I raised a new issue before I saw this one. Could you please help? |
馃悰 Bug
To Reproduce
Steps to reproduce the behavior:
Run
python examples/pytorch/name_entity_recognition/main.py --graph_type dependency_graph --gpu 0 --init_hidden_size 400 --hidden_size 128 --lr 0.01 --batch_size 100 --gnn_type graphsage --direction_option undirected
Getting
TypeError: Can't instantiate abstract class ConllDataset with abstract methods download
Expected behavior
Environment
pip
, source): sourceAdditional context
The text was updated successfully, but these errors were encountered: