Git Product home page Git Product logo

paddle_table_image_reader's People

Contributors

thunder95 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

paddle_table_image_reader's Issues

数据预处理出错

大佬,我在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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.