Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
2e01920f
Commit
2e01920f
authored
Dec 15, 2015
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed the type used to represent labels so it's more consistent
with other parts of the library.
parent
8dbb42e6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
mnist.cpp
dlib/data_io/mnist.cpp
+2
-2
mnist.h
dlib/data_io/mnist.h
+2
-2
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