You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在使用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'
The text was updated successfully, but these errors were encountered:
在使用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'
The text was updated successfully, but these errors were encountered: