process data problem
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- machine-learning
Research direction
Reproduce the command python run.py preprocess experiments/spider-configs/gap-run.jsonnet and trace the call from run.py through seq2struct/commands/preprocess.py into seq2struct/utils/registry.py. Inspect how the configuration's dataset arguments are interpreted and why args has unsupported kind 2. Done means preprocessing runs without this ValueError; no test file is mentioned in the report.
Written by the indexing model from the issue text.
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
- Dominant language
- Python
- Stars
- 109
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from awslabs/gap-text2sql
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
awslabs/gap-text2sql#37 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
awslabs/gap-text2sql#35 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
awslabs/gap-text2sql#34 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
awslabs/gap-text2sql#33 ·
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
awslabs/gap-text2sql#32 ·
All issues in awslabs/gap-text2sql
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100