![]() |
MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The DatasetExCollection contains a list of DatasetEx objects. More...
Public Member Functions | |
| DatasetExCollection () | |
| The DatasetExCollection constructor. More... | |
| bool | RemoveDataset (DatasetEx ds) |
| Remove the dataset specified. More... | |
| void | RemoveCreatedDatasets () |
| Remove all dynamically created datasets. More... | |
| bool | RemoveUser (Guid user) |
| Removes a user from the list of users using the DatasetExCollection. More... | |
| bool | SaveImageMean (int nSrcID, SimpleDatum sd, bool bUpdate) |
| Saves the image mean in a SimpleDatum to the database for a data source. More... | |
| SimpleDatum | QueryImageMean (int nSrcID) |
| Returns the image mean for a data source. More... | |
| DatasetExCollection | Clone () |
| Creates a copy of the entire DatasetExCollection. More... | |
| void | Reset () |
| Resets the last image set used to null, thus clearing it. More... | |
| void | Relabel (LabelMappingCollection col) |
| Relabels all datasets using a label mapping collection. More... | |
| void | EnableUsingTrainingSourcesForTesting (bool bEnable) |
| Enable/disable the using of the training sources for testing on all datasets. More... | |
| DatasetEx | FindDataset (int nDatasetID) |
| Searches for the dataset with a dataset ID. More... | |
| DatasetEx | FindDataset (string strDs) |
| Searches for the dataset with the dataset name. More... | |
| ImageSet | FindImageset (int nSourceID) |
| Searches for the ImageSet with a given data source ID. More... | |
| ImageSet | FindImageset (string strSource) |
| Searches for the ImageSet with a given data source name. More... | |
| void | Add (DatasetEx ds) |
| Adds a DatasetEx to the collection. More... | |
| void | Dispose () |
| Releases all resources used by the collection. More... | |
| IEnumerator< DatasetEx > | GetEnumerator () |
| Returns the enumerator for the collection. More... | |
Protected Member Functions | |
| virtual void | Dispose (bool bDisposing) |
| Releases all resources used by the collection. More... | |
Properties | |
| int | Count [get] |
| Returns the number of datasets in the collection. More... | |
| bool | UseTrainingSourcesForTesting [get] |
| Returns whether or not the training sources are set to be used for testing. More... | |
| DatasetEx | this[int nIdx] [get] |
| Returns the dataset at a given index. More... | |
The DatasetExCollection contains a list of DatasetEx objects.
Definition at line 12 of file DatasetExCollection.cs.
| MyCaffe.db.image.DatasetExCollection.DatasetExCollection | ( | ) |
The DatasetExCollection constructor.
Definition at line 22 of file DatasetExCollection.cs.
| void MyCaffe.db.image.DatasetExCollection.Add | ( | DatasetEx | ds | ) |
Adds a DatasetEx to the collection.
| ds | Specifies the DatasetEx. |
Definition at line 276 of file DatasetExCollection.cs.
| DatasetExCollection MyCaffe.db.image.DatasetExCollection.Clone | ( | ) |
Creates a copy of the entire DatasetExCollection.
Definition at line 112 of file DatasetExCollection.cs.
| void MyCaffe.db.image.DatasetExCollection.Dispose | ( | ) |
Releases all resources used by the collection.
Definition at line 298 of file DatasetExCollection.cs.
|
protectedvirtual |
Releases all resources used by the collection.
| bDisposing | Set to true when called from Dispose(). |
Definition at line 285 of file DatasetExCollection.cs.
| void MyCaffe.db.image.DatasetExCollection.EnableUsingTrainingSourcesForTesting | ( | bool | bEnable | ) |
Enable/disable the using of the training sources for testing on all datasets.
| bEnable | Enable/disable the training sources for testing. |
Definition at line 158 of file DatasetExCollection.cs.
| DatasetEx MyCaffe.db.image.DatasetExCollection.FindDataset | ( | int | nDatasetID | ) |
Searches for the dataset with a dataset ID.
| nDatasetID | Specifies the dataset ID. |
Definition at line 191 of file DatasetExCollection.cs.
| DatasetEx MyCaffe.db.image.DatasetExCollection.FindDataset | ( | string | strDs | ) |
Searches for the dataset with the dataset name.
| strDs | Specifies the dataset name. |
Definition at line 207 of file DatasetExCollection.cs.
| ImageSet MyCaffe.db.image.DatasetExCollection.FindImageset | ( | int | nSourceID | ) |
Searches for the ImageSet with a given data source ID.
| nSourceID | Specifies the ID of the data source. |
Definition at line 223 of file DatasetExCollection.cs.
| ImageSet MyCaffe.db.image.DatasetExCollection.FindImageset | ( | string | strSource | ) |
Searches for the ImageSet with a given data source name.
| strSource | Specifies the name of the data source. |
Definition at line 250 of file DatasetExCollection.cs.
| IEnumerator< DatasetEx > MyCaffe.db.image.DatasetExCollection.GetEnumerator | ( | ) |
Returns the enumerator for the collection.
Definition at line 307 of file DatasetExCollection.cs.
| SimpleDatum MyCaffe.db.image.DatasetExCollection.QueryImageMean | ( | int | nSrcID | ) |
Returns the image mean for a data source.
| nSrcID | Specifies the ID of the data source. |
Definition at line 96 of file DatasetExCollection.cs.
| void MyCaffe.db.image.DatasetExCollection.Relabel | ( | LabelMappingCollection | col | ) |
Relabels all datasets using a label mapping collection.
| col | Specifies the label mapping collection. |
Definition at line 138 of file DatasetExCollection.cs.
| void MyCaffe.db.image.DatasetExCollection.RemoveCreatedDatasets | ( | ) |
Remove all dynamically created datasets.
Definition at line 39 of file DatasetExCollection.cs.
| bool MyCaffe.db.image.DatasetExCollection.RemoveDataset | ( | DatasetEx | ds | ) |
Remove the dataset specified.
| ds | Specifies the dataset to remove. |
Definition at line 31 of file DatasetExCollection.cs.
| bool MyCaffe.db.image.DatasetExCollection.RemoveUser | ( | Guid | user | ) |
Removes a user from the list of users using the DatasetExCollection.
| user | Specifies the unique user ID. |
Definition at line 60 of file DatasetExCollection.cs.
| void MyCaffe.db.image.DatasetExCollection.Reset | ( | ) |
Resets the last image set used to null, thus clearing it.
Definition at line 129 of file DatasetExCollection.cs.
| bool MyCaffe.db.image.DatasetExCollection.SaveImageMean | ( | int | nSrcID, |
| SimpleDatum | sd, | ||
| bool | bUpdate | ||
| ) |
Saves the image mean in a SimpleDatum to the database for a data source.
| nSrcID | Specifies the ID of the data source. |
| sd | Specifies the image mean data. |
| bUpdate | Specifies whether or not to update the mean image. |
Definition at line 80 of file DatasetExCollection.cs.
|
get |
Returns the number of datasets in the collection.
Definition at line 149 of file DatasetExCollection.cs.
|
get |
Returns the dataset at a given index.
| nIdx | Specifies the index. |
Definition at line 181 of file DatasetExCollection.cs.
|
get |
Returns whether or not the training sources are set to be used for testing.
Definition at line 171 of file DatasetExCollection.cs.