Commit 2e01920f authored by Davis King's avatar Davis King

Changed the type used to represent labels so it's more consistent

with other parts of the library.
parent 8dbb42e6
...@@ -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;
......
...@@ -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
); );
} }
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment