diff --git a/src/caffe/layers/hdf5_data_layer.cpp b/src/caffe/layers/hdf5_data_layer.cpp index 1d3dc1e62ac..8a782f7e524 100644 --- a/src/caffe/layers/hdf5_data_layer.cpp +++ b/src/caffe/layers/hdf5_data_layer.cpp @@ -110,9 +110,6 @@ void HDF5DataLayer::LayerSetUp(const vector*>& bottom, // Load the first HDF5 file and initialize the line counter. LoadHDF5FileData(hdf_filenames_[file_permutation_[current_file_]].c_str()); current_row_ = 0; - if (this->layer_param_.hdf5_data_param().shuffle()) { - std::random_shuffle(file_permutation_.begin(), file_permutation_.end()); - } // Reshape blobs. const int batch_size = this->layer_param_.hdf5_data_param().batch_size();