Research icon indicating copy to clipboard operation
Research copied to clipboard

text2sql推理问题

Open shuoshuo0 opened this issue 2 years ago • 0 comments

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

shuoshuo0 avatar Jul 25 '23 03:07 shuoshuo0