awslabs / awslabs/gap-text2sql

process data problem

Open
#3 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
109
Forks
25
PR merge metrics
No merged PRs in 30d

Description

when i run python run.py preprocess experiments/spider-configs/gap-run.jsonnet
erro:

Traceback (most recent call last):
File "run.py", line 104, in
main()
File "run.py", line 62, in main
preprocess.main(preprocess_config)
File "/home/lishuan/hxh/text2sql/gap-text2sql-main/rat-sql-gap/seq2struct/commands/preprocess.py", line 44, in main
preprocessor.preprocess()
File "/home/lishuan/hxh/text2sql/gap-text2sql-main/rat-sql-gap/seq2struct/commands/preprocess.py", line 23, in preprocess
data = registry.construct('dataset', self.config['data'][section])
File "/home/lishuan/hxh/text2sql/gap-text2sql-main/rat-sql-gap/seq2struct/utils/registry.py", line 36, in construct
**kwargs)
File "/home/lishuan/hxh/text2sql/gap-text2sql-main/rat-sql-gap/seq2struct/utils/registry.py", line 44, in instantiate
raise ValueError('Unsupported kind for param {}: {}'.format(name, param.kind))
ValueError: Unsupported kind for param args: 2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.