MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The MyCaffeDataPreprocessor handles adding data from a streaming database to the GPU and then pre-processing the data once on the GPU making it ready for use with the Data Gym. More...
Public Member Functions | |
MyCaffeDataPreprocessor () | |
The constructor. More... | |
MyCaffeDataPreprocessor (IContainer container) | |
The constructor. More... | |
void | Initialize (IXMyCaffe< T > imycaffe, IXStreamDatabase idb, string strPreProcessorDLLPath, PropertySet properties) |
Initialize the Data Processor. More... | |
Tuple< Bitmap, SimpleDatum > | Render (SimpleDatum sd) |
Create and return the visualization data. More... | |
void | Reset (int nStartOffset=0) |
Reset to the start of the data set, or to an offset from the start. More... | |
void | Shutdown () |
Shutdown the preprocessor. More... | |
Tuple< Blob< T >, SimpleDatum > | Step (bool bGetSimpleDatum, int nWait=1000) |
Step to the next data in the streaming database and process it. More... | |
Public Member Functions inherited from System.ComponentModel.Component | |
Component () | |
The MyCaffeDataPreprocessor handles adding data from a streaming database to the GPU and then pre-processing the data once on the GPU making it ready for use with the Data Gym.
T | Specfies the base type of float or double. |
Definition at line 23 of file MyCaffeDataPreprocessor.cs.
The constructor.
Definition at line 30 of file MyCaffeDataPreprocessor.cs.
MyCaffe.preprocessor.MyCaffeDataPreprocessor< T >.MyCaffeDataPreprocessor | ( | IContainer | container | ) |
The constructor.
container | Specifies the container that holds this compoent. |
Definition at line 39 of file MyCaffeDataPreprocessor.cs.
void MyCaffe.preprocessor.MyCaffeDataPreprocessor< T >.Initialize | ( | IXMyCaffe< T > | imycaffe, |
IXStreamDatabase | idb, | ||
string | strPreProcessorDLLPath, | ||
PropertySet | properties | ||
) |
Initialize the Data Processor.
imycaffe | Specifies the instance of MyCaffe to use. |
idb | Specifies the instance of the streaming database to use. |
strPreProcessorDLLPath | Specifies the path to the preprocessing DLL to use. |
properties | Specifies the property set to initialize with. The property set contains the 'Fields' and 'Depth' values where each must be > 0. |
Implements MyCaffe.preprocessor.IXMyCaffePreprocessor< T >.
Definition at line 58 of file MyCaffeDataPreprocessor.cs.
Tuple< Bitmap, SimpleDatum > MyCaffe.preprocessor.MyCaffeDataPreprocessor< T >.Render | ( | SimpleDatum | sd | ) |
Create and return the visualization data.
sd | Specifies the visualization data to render, this is the SimpleDatum returned from the Step function. |
Implements MyCaffe.preprocessor.IXMyCaffePreprocessor< T >.
Definition at line 79 of file MyCaffeDataPreprocessor.cs.
void MyCaffe.preprocessor.MyCaffeDataPreprocessor< T >.Reset | ( | int | nStartOffset = 0 | ) |
Reset to the start of the data set, or to an offset from the start.
nStartOffset | Optionally, specifies an offset from the start to use. |
Implements MyCaffe.preprocessor.IXMyCaffePreprocessor< T >.
Definition at line 88 of file MyCaffeDataPreprocessor.cs.
void MyCaffe.preprocessor.MyCaffeDataPreprocessor< T >.Shutdown | ( | ) |
Shutdown the preprocessor.
Implements MyCaffe.preprocessor.IXMyCaffePreprocessor< T >.
Definition at line 96 of file MyCaffeDataPreprocessor.cs.
Tuple< Blob< T >, SimpleDatum > MyCaffe.preprocessor.MyCaffeDataPreprocessor< T >.Step | ( | bool | bGetSimpleDatum, |
int | nWait = 1000 |
||
) |
Step to the next data in the streaming database and process it.
bGetSimpleDatum | Specifies to get the simple datum for visualization purposes. |
nWait | Specifies an amount of time in ms. to wait for new data. |
Implements MyCaffe.preprocessor.IXMyCaffePreprocessor< T >.
Definition at line 111 of file MyCaffeDataPreprocessor.cs.