Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
2e01920f
Commit
2e01920f
authored
Dec 14, 2015
by
Davis King
Browse files
Changed the type used to represent labels so it's more consistent
with other parts of the library.
parent
8dbb42e6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
dlib/data_io/mnist.cpp
dlib/data_io/mnist.cpp
+2
-2
dlib/data_io/mnist.h
dlib/data_io/mnist.h
+2
-2
dlib/data_io/mnist_abstract.h
dlib/data_io/mnist_abstract.h
+2
-2
No files found.
dlib/data_io/mnist.cpp
View file @
2e01920f
...
@@ -14,9 +14,9 @@ namespace dlib
...
@@ -14,9 +14,9 @@ namespace dlib
void
load_mnist_dataset
(
void
load_mnist_dataset
(
const
std
::
string
&
folder_name
,
const
std
::
string
&
folder_name
,
std
::
vector
<
matrix
<
unsigned
char
>
>&
training_images
,
std
::
vector
<
matrix
<
unsigned
char
>
>&
training_images
,
std
::
vector
<
int
>&
training_labels
,
std
::
vector
<
unsigned
long
>&
training_labels
,
std
::
vector
<
matrix
<
unsigned
char
>
>&
testing_images
,
std
::
vector
<
matrix
<
unsigned
char
>
>&
testing_images
,
std
::
vector
<
int
>&
testing_labels
std
::
vector
<
unsigned
long
>&
testing_labels
)
)
{
{
using
namespace
std
;
using
namespace
std
;
...
...
dlib/data_io/mnist.h
View file @
2e01920f
...
@@ -15,9 +15,9 @@ namespace dlib
...
@@ -15,9 +15,9 @@ namespace dlib
void
load_mnist_dataset
(
void
load_mnist_dataset
(
const
std
::
string
&
folder_name
,
const
std
::
string
&
folder_name
,
std
::
vector
<
matrix
<
unsigned
char
>
>&
training_images
,
std
::
vector
<
matrix
<
unsigned
char
>
>&
training_images
,
std
::
vector
<
int
>&
training_labels
,
std
::
vector
<
unsigned
long
>&
training_labels
,
std
::
vector
<
matrix
<
unsigned
char
>
>&
testing_images
,
std
::
vector
<
matrix
<
unsigned
char
>
>&
testing_images
,
std
::
vector
<
int
>&
testing_labels
std
::
vector
<
unsigned
long
>&
testing_labels
);
);
}
}
...
...
dlib/data_io/mnist_abstract.h
View file @
2e01920f
...
@@ -14,9 +14,9 @@ namespace dlib
...
@@ -14,9 +14,9 @@ namespace dlib
void
load_mnist_dataset
(
void
load_mnist_dataset
(
const
std
::
string
&
folder_name
,
const
std
::
string
&
folder_name
,
std
::
vector
<
matrix
<
unsigned
char
>
>&
training_images
,
std
::
vector
<
matrix
<
unsigned
char
>
>&
training_images
,
std
::
vector
<
int
>&
training_labels
,
std
::
vector
<
unsigned
long
>&
training_labels
,
std
::
vector
<
matrix
<
unsigned
char
>
>&
testing_images
,
std
::
vector
<
matrix
<
unsigned
char
>
>&
testing_images
,
std
::
vector
<
int
>&
testing_labels
std
::
vector
<
unsigned
long
>&
testing_labels
);
);
/*!
/*!
ensures
ensures
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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