2using System.Collections.Generic;
5using System.Threading.Tasks;
14 string m_strTrainImagesFile;
15 string m_strTrainLabelsFile;
16 string m_strTestImagesFile;
17 string m_strTestLabelsFile;
18 bool m_bExportToFileOnly;
19 string m_strExportPath;
30 public MnistDataParameters(
string strTrainImages,
string strTrainLabels,
string strTestImages,
string strTestLabels,
bool bExportToFileOnly,
string strExportPath)
32 m_strTrainImagesFile = strTrainImages;
33 m_strTrainLabelsFile = strTrainLabels;
34 m_strTestImagesFile = strTestImages;
35 m_strTestLabelsFile = strTestLabels;
36 m_bExportToFileOnly = bExportToFileOnly;
37 m_strExportPath = strExportPath;
45 get {
return m_strTrainImagesFile; }
53 get {
return m_strTrainLabelsFile; }
61 get {
return m_strTestImagesFile; }
69 get {
return m_strTestLabelsFile; }
77 get {
return m_strExportPath; }
85 get {
return m_bExportToFileOnly; }
Contains the dataset parameters used to create the MNIST dataset.
MnistDataParameters(string strTrainImages, string strTrainLabels, string strTestImages, string strTestLabels, bool bExportToFileOnly, string strExportPath)
The constructor.
string TestLabelsFile
Specifies the testing label file 't10k-labels-idx1-ubyte.gz'.
string TrainImagesFile
Specifies the training image file 'train-images-idx3-ubyte.gz'.
string TrainLabelsFile
Specifies the training label file 'train-labels-idx1.ubyte.gz'.
string ExportPath
Specifies where to export the files when 'ExportToFile' = true.
string TestImagesFile
Specifies the testing image file 't10k-images-idx3-ubyte.gz'.
bool ExportToFile
Specifies to export the images to a folder.
The MyCaffe.data namespace contains dataset creators used to create common testing datasets such as M...