зеркало из https://github.com/microsoft/caffe.git
Merge pull request #3010 from darrengarvey/fixup-memory-leak-siamese
Fix memory leak in convert_mnist_siamese_data.
This commit is contained in:
Коммит
cbb2ed120c
|
@ -102,7 +102,7 @@ void convert_dataset(const char* image_filename, const char* label_filename,
|
|||
}
|
||||
|
||||
delete db;
|
||||
delete pixels;
|
||||
delete [] pixels;
|
||||
}
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче