Comments (3)
Hello, thank you for reaching out!
Did you try resolving the ModuleNotFoundError
? That seems to be the problem since the next FileNotFoundError
would be resolved if the previous step runs successfully.
python3 -m pip install pymysql
or !pip install pymysql
should help.
from editsql-cust.
Thanks @Param-Raval. That solved the issue but I am getting the error regarding the glove issue. I am sure that I have to download the glove.840B.300d.zip folder but I am unsure which directory it should go in. I would really appreciate if you can have a look in it. Thanks in advance :))
Loading Glove Embedding from /home/lily/rz268/dialog2sql/word_emb/glove.840B.300d.txt
Traceback (most recent call last):
File "run.py", line 338, in <module>
main()
File "run.py", line 301, in main
data.anonymizer if params.anonymize and params.anonymization_scoring else None)
File "/content/drive/My Drive/editsql/model/schema_interaction_model.py", line 49, in __init__
anonymizer)
File "/content/drive/My Drive/editsql/model/model.py", line 149, in __init__
input_vocabulary_embeddings, output_vocabulary_embeddings, output_vocabulary_schema_embeddings, input_embedding_size = load_word_embeddings(input_vocabulary, output_vocabulary, output_vocabulary_schema, params)
File "/content/drive/My Drive/editsql/model/model.py", line 98, in load_word_embeddings
glove_embeddings = read_glove_embedding(params.embedding_filename, glove_embedding_size)
File "/content/drive/My Drive/editsql/model/model.py", line 81, in read_glove_embedding
with open(embedding_filename) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/lily/rz268/dialog2sql/word_emb/glove.840B.300d.txt'
Read prediction from logs_sparc_editsql/valid_use_predicted_queries_predictions.json
Traceback (most recent call last):
File "postprocess_eval.py", line 466, in <module>
predictions = read_prediction(pred_file)
File "postprocess_eval.py", line 384, in read_prediction
with open(pred_file) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'logs_sparc_editsql/valid_use_predicted_queries_predictions.json'
from editsql-cust.
Hi, regarding the last issue. I fixed it by changing the path in run_sparc_editsql of GLOVE_PATH.
from editsql-cust.
Related Issues (7)
- Didn't get how to edit dev.json and dev_no_value.json HOT 3
- Editing Tables.json HOT 1
- Do you have implemented SpectralDefense: Detecting Adversarial Attacks on CNNs in the Fourier Domain HOT 1
- glove.840B.300d.txt HOT 1
- dev_use_predicted_queries_predictions.json. HOT 2
- output.txt adding personalised data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from editsql-cust.