private void btnOK_Click(object sender, EventArgs e)
        {
            if (chkExportToFile.Checked && string.IsNullOrEmpty(edtExportFolder.Text))
            {
                MessageBox.Show("You must specify a folder to export into!", "No Export Folder", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                DialogResult = DialogResult.None;
                edtExportFolder.Focus();
                return;
            }

            m_param = new MnistDataParameters(edtTrainImagesFile.Text, edtTrainLabelsFile.Text, edtTestImagesFile.Text, edtTestLabelsFile.Text, chkExportToFile.Checked, edtExportFolder.Text);
        }
Exemple #2
0
 public MnistDataLoader(MnistDataParameters param)
 {
     m_param = param;
 }
Exemple #3
0
 private void btnOK_Click(object sender, EventArgs e)
 {
     m_param = new MnistDataParameters(edtTrainImagesFile.Text, edtTrainLabelsFile.Text, edtTestImagesFile.Text, edtTestLabelsFile.Text);
 }