thunder95 / paddle_table_image_reader Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
大佬,我在AI Studio上使用你的代码进行预处理报错了
292it [00:02, 100.00it/s]
Traceback (most recent call last):
File "./script/text2sql_main.py", line 286, in
preprocess(config)
File "./script/text2sql_main.py", line 74, in preprocess
dataset = DatasetClass(name='train', data_file=config.data.train_set, **dataset_config)
File "/home/aistudio/Text2SQL-BASELINE/text2sql/dataproc/dusql_dataset_v2.py", line 347, in init
self.collate_examples(json.load(ifs_data), json.load(ifs_mval))
File "/home/aistudio/Text2SQL-BASELINE/text2sql/dataproc/dusql_dataset_v2.py", line 374, in collate_examples
outputs = self.label_encoder.add_item(self.name, item['sql'], inputs.values)
File "/home/aistudio/Text2SQL-BASELINE/text2sql/dataproc/sql_preproc_v2.py", line 301, in add_item
parsed = self.grammar.parse(sql_json, section)
File "/home/aistudio/Text2SQL-BASELINE/text2sql/grammars/nl2sql.py", line 116, in parse
return self.parse_sql(code)
File "/home/aistudio/Text2SQL-BASELINE/text2sql/grammars/nl2sql.py", line 155, in parse_sql
'where': self.parse_cond(sql['conds'], ['', 'and', 'or'][sql['cond_conn_op']]),
File "/home/aistudio/Text2SQL-BASELINE/text2sql/grammars/nl2sql.py", line 197, in parse_cond
col_id, op_id, val1 = conds[0]
IndexError: list index out of range
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.