Closed pokerG closed 4 years ago
Hi, I'm trying to run your model, but during eval I'm getting the following error:
WARNING <class 'ratsql.models.enc_dec.EncDecModel.Preproc'>: superfluous {'name': 'EncDec'} WARNING <class 'ratsql.models.enc_dec.EncDecModel'>: superfluous {'decoder_preproc': {'grammar': {'clause_order': None, 'end_with_from': True, 'factorize_sketch': 2, 'include_literals': False, 'infer_from_conditions': True, 'name': 'spider', 'output_from': True, 'use_table_pointer': True}, 'max_count': 5000, 'min_freq': 4, 'save_path': '/data/spider/nl2code-glove,cv_link=true', 'use_seq_elem_rules': True}, 'encoder_preproc': {'compute_cv_link': True, 'compute_sc_link': True, 'count_tokens_in_word_emb_for_vocab': True, 'db_path': '/data/spider/database', 'fix_issue_16_primary_keys': True, 'include_table_name_in_column': False, 'max_count': 5000, 'min_freq': 4, 'save_path': '/data/spider/nl2code-glove,cv_link=true', 'word_emb': {'kind': '42B', 'lemmatize': True, 'name': 'glove'}}} Loading model from logdir/glove_run/bs=20,lr=7.4e-04,end_lr=0e0,att=0/model_checkpoint-00030100 DB connections: 100%|███████████████████████████████████████████████████| 166/166 [00:02<00:00, 56.41it/s] Traceback (most recent call last): File "run.py", line 109, in <module> main() File "run.py", line 91, in main infer.main(infer_config) File "/root/rat-sql/ratsql/commands/infer.py", line 163, in main inferer.infer(model, output_path, args) File "/root/rat-sql/ratsql/commands/infer.py", line 69, in infer assert len(orig_data) == len(preproc_data) AssertionError
orig_data is SpiderDataset, len: 2
preproc_data is ZippedDataset, len:1034
Sorry, this is because of my data file error, please delete this issue
Hi, I'm trying to run your model, but during eval I'm getting the following error:
orig_data is SpiderDataset, len: 2
preproc_data is ZippedDataset, len:1034