MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The IXMyCaffeCustomTrainer interface is used by the MyCaffeCustomTraininer components that provide various training techniques such as Reinforcement Training. More...
Public Member Functions | |
ResultCollection | RunOne (Component mycaffe, int nDelay) |
Run the network using the run technique implemented by this trainer. More... | |
byte[] | Run (Component mycaffe, int nN, out string type) |
Run the network using the run technique implemented by this trainer. More... | |
Public Member Functions inherited from MyCaffe.trainers.IXMyCaffeCustomTrainer | |
void | Initialize (string strProperties, IXMyCaffeCustomTrainerCallback icallback) |
Initialize the trainer passing in a set of key-value pairs as properties. More... | |
void | CleanUp () |
Clean-up the trainer by releasing all resources used. More... | |
bool | GetUpdateSnapshot (out int nIteration, out double dfAccuracy) |
Returns true when the training is ready for a snap-shot, false otherwise. More... | |
DatasetDescriptor | GetDatasetOverride (int nProjectID, ConnectInfo ci=null) |
Returns a dataset override to use (if any) instead of the project's dataset. If there is no dataset override null is returned and the project's dataset is used. More... | |
void | Train (Component mycaffe, int nIterationOverride, ITERATOR_TYPE type=ITERATOR_TYPE.ITERATION, TRAIN_STEP step=TRAIN_STEP.NONE) |
Train the network using the training technique implemented by this trainer. More... | |
void | Test (Component mycaffe, int nIterationOverride, ITERATOR_TYPE type=ITERATOR_TYPE.ITERATION) |
Test the network using the testing technique implemented by this trainer. More... | |
double | GetProperty (string strName) |
Returns a specific property value. More... | |
void | OpenUi () |
Open the user interface if one exists for the trainer. More... | |
Additional Inherited Members | |
Properties inherited from MyCaffe.trainers.IXMyCaffeCustomTrainer | |
Stage | Stage [get] |
Returns the stage that the trainer is running under based on the trainer type. More... | |
string | Name [get] |
Returns the name of the custom trainer. More... | |
TRAINING_CATEGORY | TrainingCategory [get] |
Returns the training category supported by the implementer of the interface. More... | |
bool | IsTrainingSupported [get] |
Returns true when the 'Train' method is supported - this should almost always be true. More... | |
bool | IsTestingSupported [get] |
Returns true when the 'Test' method is supported. More... | |
bool | IsRunningSupported [get] |
Returns true when the 'Run' method is supported. More... | |
string | Information [get] |
Returns general information about the custom trainer. More... | |
The IXMyCaffeCustomTrainer interface is used by the MyCaffeCustomTraininer components that provide various training techniques such as Reinforcement Training.
Definition at line 134 of file Interfaces.cs.
byte[] MyCaffe.trainers.IXMyCaffeCustomTrainerRL.Run | ( | Component | mycaffe, |
int | nN, | ||
out string | type | ||
) |
Run the network using the run technique implemented by this trainer.
mycaffe | Specifies an instance to the MyCaffeControl component. |
nN | Specifies the number of samples to run. |
type | Specifies the output data type returned as a raw byte stream. |
Implemented in MyCaffe.trainers.MyCaffeTrainerDual, and MyCaffe.trainers.MyCaffeTrainerRL.
ResultCollection MyCaffe.trainers.IXMyCaffeCustomTrainerRL.RunOne | ( | Component | mycaffe, |
int | nDelay | ||
) |
Run the network using the run technique implemented by this trainer.
mycaffe | Specifies an instance to the MyCaffeControl component. |
nDelay | Specifies a delay to wait before getting the action. |
Implemented in MyCaffe.trainers.MyCaffeTrainerRL.