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

problem with train/eval #22

Open
SepehrAminiAfshar opened this issue Jul 18, 2023 · 0 comments
Open

problem with train/eval #22

SepehrAminiAfshar opened this issue Jul 18, 2023 · 0 comments

Comments

@SepehrAminiAfshar
Copy link

Hi. I'm trying to run the project and produce the results myself. But I keep getting this error on train/eval commands.

Traceback (most recent call last):
File "/content/rasat/seq2seq/run_seq2seq.py", line 292, in
main()
File "/content/rasat/seq2seq/run_seq2seq.py", line 158, in main
metric, dataset_splits = load_dataset(
File "/content/rasat/seq2seq/utils/dataset_loader.py", line 181, in load_dataset
sparc_dataset_splits = prepare_splits(
File "/content/rasat/seq2seq/utils/dataset.py", line 346, in prepare_splits
train_split = _prepare_train_split(
File "/content/rasat/seq2seq/utils/dataset.py", line 261, in _prepare_train_split
relation_matrix_l = preprocess_by_dataset(
File "/content/rasat/seq2seq/preprocess/choose_dataset.py", line 14, in preprocess_by_dataset
_, relations = preprocessing_lgerels2t5rels_changeOrder(data_base_dir, dataset_name, t5_processed, mode, edge_type, use_coref, use_dependency)
File "/content/rasat/seq2seq/preprocess/lgerels2t5rels_changeOrder.py", line 476, in preprocessing_lgerels2t5rels_changeOrder
match_table_and_column(dataset_lgesql, table_lgesql, t5_tokenizer)
File "/content/rasat/seq2seq/preprocess/lgerels2t5rels_changeOrder.py", line 136, in match_table_and_column
raise e
File "/content/rasat/seq2seq/preprocess/lgerels2t5rels_changeOrder.py", line 133, in match_table_and_column
lge_table = table_lgesql[db_name]['table_names']
KeyError: 'sqlite_sequence:name,seq'

Does anybody have a solution?
If you have a working notebook that works just fine on train/eval commands, It would be kind of you to share it.

Thank you

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

1 participant