diff --git a/mindspore/lite/minddata/wrapper/album_op_android.cc b/mindspore/lite/minddata/wrapper/album_op_android.cc index 0e101e495d..621cba5191 100644 --- a/mindspore/lite/minddata/wrapper/album_op_android.cc +++ b/mindspore/lite/minddata/wrapper/album_op_android.cc @@ -48,7 +48,7 @@ AlbumOp::AlbumOp(const std::string &file_dir, bool do_decode, const std::string current_cnt_(0), dirname_offset_(0), sampler_(true), - sampler_index_(0) { + sampler_index_(index) { PrescanEntry(); }