зеркало из https://github.com/microsoft/caffe.git
No need to manually delete the pointers which are managed by std::vector
This commit is contained in:
Родитель
4415f8c045
Коммит
738be6fdfc
|
@ -185,10 +185,6 @@ int feature_extraction_pipeline(int argc, char** argv) {
|
|||
" query images for feature blob " << blob_names[i];
|
||||
}
|
||||
|
||||
for (int i = 0; i < num_features; ++i) {
|
||||
delete feature_batches[i];
|
||||
delete feature_dbs[i];
|
||||
}
|
||||
LOG(ERROR)<< "Successfully extracted the features!";
|
||||
return 0;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче