Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #1, fixes #2 : renamed files, . -> - #3

Merged
merged 1 commit into from
Feb 26, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
// Number of nodes in each layer of the network
uint32_t nodes[] = { 784, 30, 10 };

const char * images_file = "./dat/train-images.idx3-ubyte";
const char * labels_file = "./dat/train-labels.idx1-ubyte";
const char * images_file = "./dat/train-images-idx3-ubyte";
const char * labels_file = "./dat/train-labels-idx1-ubyte";

int
main (int argc, const char* argv[])
Expand Down
4 changes: 2 additions & 2 deletions src/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ TEST_CASE( "Images read data", "[loader]" )
REQUIRE(err > 0);

// Read a known valid file
err = images_read_data (&img_data, "./dat/train-images.idx3-ubyte");
err = images_read_data (&img_data, "./dat/train-images-idx3-ubyte");
REQUIRE(err == 0);

// Check the file header
Expand Down Expand Up @@ -90,7 +90,7 @@ TEST_CASE( "Labels read data", "[loader]" )
REQUIRE(err > 0);

// Read a known valid file
err = labels_read_data (&lbl_data, "./dat/train-labels.idx1-ubyte");
err = labels_read_data (&lbl_data, "./dat/train-labels-idx1-ubyte");
REQUIRE(err == 0);

// Check the file header
Expand Down