Closed chris-opendata closed 3 years ago
Worked out the problem. It was due to the pre-existing vocab.pt in data\jobs\processed\node_emb_graph when it tried to build vocab. After deleting the existing vocab.pt, it should by-pass the error.
There are other problems worked out. List here for anyone's reference
One may need to reduce thread number in the config file in case facing the following error
Exception has occurred: OSError (note: full exception trace is shown but execution is paused at: <module>)
[WinError 1455] The paging file is too small for this operation to complete. Error loading "...\lib\site-packages\torch\lib\cudnn_adv_infer64_8.dll" or one of its dependencies.
One also needs to download nltk's 'punkt' if facing the error like
Exception has occurred: LookupError (note: full exception trace is shown but execution is paused at: _run_module_as_main)
**********************************************************************
Resource [93mpunkt[0m not found.
Please use the NLTK Downloader to obtain the resource:
[31m>>> import nltk
>>> nltk.download('punkt')
[0m
đ Bug
When trying KDD2021_demo semantic_parsing in jupyter notebook, I got the following error upon "Run the model"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Don't expect the error.
Environment
pip
, source): followed "Installation via source code"Additional context