projects
/
platform
/
upstream
/
caffe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0766cd9
)
[example] convert mnist name fix (crashes xcode compiler)
author
qipeng
<pengrobertqi@163.com>
Wed, 3 Sep 2014 23:30:34 +0000
(16:30 -0700)
committer
qipeng
<pengrobertqi@163.com>
Wed, 3 Sep 2014 23:30:34 +0000
(16:30 -0700)
examples/mnist/convert_mnist_data.cpp
patch
|
blob
|
history
diff --git
a/examples/mnist/convert_mnist_data.cpp
b/examples/mnist/convert_mnist_data.cpp
index
0d3e91e
..
1904015
100644
(file)
--- a/
examples/mnist/convert_mnist_data.cpp
+++ b/
examples/mnist/convert_mnist_data.cpp
@@
-37,7
+37,7
@@
void convert_dataset(const char* image_filename, const char* label_filename,
std::ifstream image_file(image_filename, std::ios::in | std::ios::binary);
std::ifstream label_file(label_filename, std::ios::in | std::ios::binary);
CHECK(image_file) << "Unable to open file " << image_filename;
- CHECK(label_file) << "Unable to open file " << label_file;
+ CHECK(label_file) << "Unable to open file " << label_file
name
;
// Read the magic and the meta data
uint32_t magic;
uint32_t num_items;