зеркало из https://github.com/microsoft/caffe.git
Print to stderr for example LMDB code
This commit is contained in:
Родитель
90426645c3
Коммит
f30c61cfdf
|
@ -91,6 +91,8 @@ void convert_dataset(const string& input_folder, const string& output_folder,
|
|||
}
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
FLAGS_alsologtostderr = 1;
|
||||
|
||||
if (argc != 4) {
|
||||
printf("This script converts the CIFAR dataset to the leveldb format used\n"
|
||||
"by caffe to perform classification.\n"
|
||||
|
|
|
@ -178,6 +178,8 @@ int main(int argc, char** argv) {
|
|||
namespace gflags = google;
|
||||
#endif
|
||||
|
||||
FLAGS_alsologtostderr = 1;
|
||||
|
||||
gflags::SetUsageMessage("This script converts the MNIST dataset to\n"
|
||||
"the lmdb/leveldb format used by Caffe to load data.\n"
|
||||
"Usage:\n"
|
||||
|
|
Загрузка…
Ссылка в новой задаче