PaddlePaddle / Research

novel deep learning research works with PaddlePaddle
Apache License 2.0
1.72k stars 788 forks source link

text2sql推理问题 #310

Open shuoshuo0 opened 1 year ago

shuoshuo0 commented 1 year ago

在使用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'