Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gapou
caffe
Commits
0afc30aa
Commit
0afc30aa
authored
Nov 21, 2014
by
ixartz
Browse files
Fix compile error in convert_mnist_siamese_data.cpp
parent
eca019ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/siamese/convert_mnist_siamese_data.cpp
View file @
0afc30aa
...
...
@@ -36,7 +36,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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment