We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b86b370 commit b32766fCopy full SHA for b32766f
src/loaders/MnistLoader.cpp
@@ -52,6 +52,7 @@ STATIC void MnistLoader::load(std::string imagesFilePath, unsigned char *images,
52
return;
53
}
54
string labelsFilePath = replace(imagesFilePath, "-images-idx3-ubyte", "-labels-idx1-ubyte");
55
+ labelsFilePath = replace(labelsFilePath, "-images.idx3-ubyte", "-labels.idx1-ubyte");
56
// cout << "labelsfilepath: " << labelsFilePath << endl;
57
58
fileStartPos = 2 * 4 + (long)startN;
0 commit comments