You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the pretrained model! I was trying to run inference using python3 ./train.py --trained --do_infer, but get this error:
Traceback (most recent call last):
File "./train.py", line 799, in <module>
beam_size=1, show_table=False, show_answer_only=False
File "./train.py", line 632, in infer
beam_size=beam_size)
File "/base/sqlova/model/nl2sql/wikisql_models.py", line 115, in beam_forward
knowledge=knowledge, knowledge_header=knowledge_header)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 477, in __call__
result = self.forward(*input, **kwargs)
File "/base/sqlova/model/nl2sql/wikisql_models.py", line 562, in forward
knowledge = [k + (mL_n - len(k)) * [0] for k in knowledge]
TypeError: 'NoneType' object is not iterable
I've placed something in data_and_model/ctable.tables.jsonl and data_and_model/ctable.db. I've placed a ctable_knowledge.jsonl file in a few places, but I don't see how it would be read. What am I doing wrong?
The text was updated successfully, but these errors were encountered:
Thanks for the pretrained model! I was trying to run inference using
python3 ./train.py --trained --do_infer
, but get this error:I've placed something in
data_and_model/ctable.tables.jsonl
anddata_and_model/ctable.db
. I've placed actable_knowledge.jsonl
file in a few places, but I don't see how it would be read. What am I doing wrong?The text was updated successfully, but these errors were encountered: