Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text2sql推理问题 #310

Open
shuoshuo0 opened this issue Jul 25, 2023 · 0 comments
Open

text2sql推理问题 #310

shuoshuo0 opened this issue Jul 25, 2023 · 0 comments

Comments

@shuoshuo0
Copy link

在使用text2sql-baseline推理的时候出现
Traceback (most recent call last):
File "./script/text2sql_main.py", line 277, in
inference(config)
File "./script/text2sql_main.py", line 156, in inference
test_reader = DataLoaderClass(config, test_set, batch_size=1, shuffle=False)
File "Research/NLP/Text2SQL-BASELINE/text2sql/dataproc/dataloader.py", line 144, in init
self.dataloader = paddle.io.DataLoader.from_generator(
AttributeError: type object 'DataLoader' has no attribute 'from_generator'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant