The EDatasetSplit maps the image indexes of a EDataset to a dataset split type (EDatasetType). More...


Public Member Functions | |
| EDatasetSplit () | |
| Creates a EDatasetSplit. | |
| EDatasetSplit (eVision.EasyDeepLearning.EDatasetType[] mapping) | |
| Creates a EDatasetSplit. | |
| EDatasetSplit (eVision.EasyDeepLearning.EDatasetSplit other) | |
| Creates a EDatasetSplit. | |
| void | CopyTo (eVision.EasyDeepLearning.EDatasetSplit other) |
| Copy the dataset split to the other instance. | |
| void | Load (string path) |
| Load the EDatasetSplit configuration. The given ESerializer must have been created for reading. | |
| void | Load (eVision.ESerializer serializer) |
| Load the EDatasetSplit configuration. The given ESerializer must have been created for reading. | |
| void | Save (string path) |
| Save the EDatasetSplit configuration. The given ESerializer must have been created for writing. | |
| void | Save (eVision.ESerializer serializer) |
| Save the EDatasetSplit configuration. The given ESerializer must have been created for writing. | |
| int[] | GetSplit (eVision.EasyDeepLearning.EDatasetType type) |
| Image indexes corresponding to the given type. | |
| int | GetNumImages () |
| Number of image indexes associated in the object. | |
| int | GetNumImages (eVision.EasyDeepLearning.EDatasetType type) |
| Number of image indexes associated with the given dataset type. | |
| eVision.EasyDeepLearning.EDatasetType | GetImageType (int imageIndex) |
| Dataset type for the given image index. | |
| void | SetImageType (int imageIndex, eVision.EasyDeepLearning.EDatasetType type) |
| Dataset type for the given image index. | |
| bool | GetImageTypeLocked (int imageIndex) |
| Whether the image type is locked for the given image. | |
| void | SetImageTypeLocked (int imageIndex, bool isLocked) |
| Whether the image type is locked for the given image. | |
| void | SetTypeLocked (int type, bool isLocked) |
| Locks or unlocks all the images whose dataset type matches the given type. Note that the given type can be a combination of several dataset type (using the | operator). | |
| bool | HasLockedImages () |
| Whether the split contains images for which the dataset type is locked. | |
Properties | |
| int | NumLockedImages [get] |
| Number of images for which the dataset type is locked. | |
| eVision.EasyDeepLearning.EDatasetType[] | DatasetMapping [get] |
| Mapping between image indexes and the corresponding dataset split type. | |
The EDatasetSplit maps the image indexes of a EDataset to a dataset split type (EDatasetType).
The image indexes mapped in the object are consecutive and between 0 and EDatasetSplit.GetNumImages - 1.
License(s): EasyClassify or EasySegment or EasyLocate
| eVision.EasyDeepLearning.EDatasetSplit.EDatasetSplit | ( | ) |
Creates a EDatasetSplit.
| eVision.EasyDeepLearning.EDatasetSplit.EDatasetSplit | ( | eVision.EasyDeepLearning.EDatasetType[] | mapping | ) |
Creates a EDatasetSplit.
| mapping | Vector where the value at index i is the dataset type for image i. |
| eVision.EasyDeepLearning.EDatasetSplit.EDatasetSplit | ( | eVision.EasyDeepLearning.EDatasetSplit | other | ) |
Creates a EDatasetSplit.
| other | Other instance of EDatasetSplit. |
| void eVision.EasyDeepLearning.EDatasetSplit.CopyTo | ( | eVision.EasyDeepLearning.EDatasetSplit | other | ) |
Copy the dataset split to the other instance.
| other | Other instance of EDatasetSplit. |
| eVision.EasyDeepLearning.EDatasetType eVision.EasyDeepLearning.EDatasetSplit.GetImageType | ( | int | imageIndex | ) |
Dataset type for the given image index.
| imageIndex | Image index. |
| bool eVision.EasyDeepLearning.EDatasetSplit.GetImageTypeLocked | ( | int | imageIndex | ) |
Whether the image type is locked for the given image.
This property is mainly used to lock training and validation images after the split was used in a training.
| imageIndex | Image index. |
| int eVision.EasyDeepLearning.EDatasetSplit.GetNumImages | ( | ) |
Number of image indexes associated in the object.
| int eVision.EasyDeepLearning.EDatasetSplit.GetNumImages | ( | eVision.EasyDeepLearning.EDatasetType | type | ) |
Number of image indexes associated with the given dataset type.
| type | Dataset split type |
| int[] eVision.EasyDeepLearning.EDatasetSplit.GetSplit | ( | eVision.EasyDeepLearning.EDatasetType | type | ) |
Image indexes corresponding to the given type.
| type | the type of split to retrieve |
| bool eVision.EasyDeepLearning.EDatasetSplit.HasLockedImages | ( | ) |
Whether the split contains images for which the dataset type is locked.
| void eVision.EasyDeepLearning.EDatasetSplit.Load | ( | eVision.ESerializer | serializer | ) |
Load the EDatasetSplit configuration. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| void eVision.EasyDeepLearning.EDatasetSplit.Load | ( | string | path | ) |
Load the EDatasetSplit configuration. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision.EasyDeepLearning.EDatasetSplit.Save | ( | eVision.ESerializer | serializer | ) |
Save the EDatasetSplit configuration. The given ESerializer must have been created for writing.
| serializer | The serializer. |
| void eVision.EasyDeepLearning.EDatasetSplit.Save | ( | string | path | ) |
Save the EDatasetSplit configuration. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision.EasyDeepLearning.EDatasetSplit.SetImageType | ( | int | imageIndex, |
| eVision.EasyDeepLearning.EDatasetType | type ) |
Dataset type for the given image index.
| imageIndex | Image index. |
| type | Dataset split type. |
| void eVision.EasyDeepLearning.EDatasetSplit.SetImageTypeLocked | ( | int | imageIndex, |
| bool | isLocked ) |
Whether the image type is locked for the given image.
This property is mainly used to lock training and validation images after the split was used in a training.
| imageIndex | Image index. |
| isLocked | Whether to lock the image |
| void eVision.EasyDeepLearning.EDatasetSplit.SetTypeLocked | ( | int | type, |
| bool | isLocked ) |
Locks or unlocks all the images whose dataset type matches the given type. Note that the given type can be a combination of several dataset type (using the | operator).
| type | Dataset type to lock. |
| isLocked | Whether to lock the images |
|
get |
Mapping between image indexes and the corresponding dataset split type.
The value at index i of the vector is the dataset split type for the image index i.
|
get |
Number of images for which the dataset type is locked.