PaddleNLP/neural_machine_translation/transformer/train.py读取的数据产生了空的
Created by: yuzunrui
PaddleNLP/neural_machine_translation/transformer/train.py 第375行,在读取数据后,对于某些batch_id,data为空[ ],请问原因是什么?谢谢 (所用数据集中无空白行,调整batch_size和pool_size解决不了)
def py_reader_provider():
data_input_names = encoder_data_input_fields + \
decoder_data_input_fields[:-1] + label_data_input_fields
for batch_id, data in enumerate(data_reader()):