MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
VOCDataParameters.cs
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6
7namespace MyCaffe.data
8{
12 public class VOCDataParameters
13 {
14 string m_strDataFileTrain2007;
15 string m_strDataFileTrain2012;
16 string m_strDataFileTest2007;
17 bool m_bExtractFiles = true;
18
26 public VOCDataParameters(string strDataBatchFileTrain2007, string strDataBatchFileTrain2012, string strDataBatchFileTest2007, bool bExtractFiles)
27 {
28 m_strDataFileTrain2007 = strDataBatchFileTrain2007;
29 m_strDataFileTrain2012 = strDataBatchFileTrain2012;
30 m_strDataFileTest2007 = strDataBatchFileTest2007;
31 m_bExtractFiles = bExtractFiles;
32 }
33
38 {
39 get { return m_strDataFileTrain2007; }
40 }
41
46 {
47 get { return m_strDataFileTrain2012; }
48 }
49
54 {
55 get { return m_strDataFileTest2007; }
56 }
57
61 public bool ExtractFiles
62 {
63 get { return m_bExtractFiles; }
64 }
65 }
66}
Contains the dataset parameters used to create the VOC0712 dataset.
string DataBatchFileTest2007
Returns the testing file 'VOCtest_06-Nov-2007.tar'.
string DataBatchFileTrain2007
Returns the training file 'VOCtrain_06-Nov-2007.tar'.
VOCDataParameters(string strDataBatchFileTrain2007, string strDataBatchFileTrain2012, string strDataBatchFileTest2007, bool bExtractFiles)
The constructor.
string DataBatchFileTrain2012
Specifies the training file 'OCtrain_11-May-2012.tar'.
bool ExtractFiles
Returns whether or not to extract the tar files.
The MyCaffe.data namespace contains dataset creators used to create common testing datasets such as M...
Definition: BinaryFile.cs:16