diff --git a/paddle/fluid/framework/data_set.cc b/paddle/fluid/framework/data_set.cc index 33390ed137487dfb2467be9b0895d3a0759ef2b7..5621770535fc54accf486bbc5458fc3bae1f757f 100644 --- a/paddle/fluid/framework/data_set.cc +++ b/paddle/fluid/framework/data_set.cc @@ -1087,6 +1087,7 @@ void MultiSlotDataset::SlotsShuffle( random_data.clear(); random_data.shrink_to_fit(); input_channel_->Close(); + cur_channel_ = 0; timeline.Pause(); VLOG(2) << "DatasetImpl::SlotsShuffle() end"