MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The MyCaffeModelData object contains the model descriptor, model weights and optionally the image mean. More...
Public Member Functions | |
MyCaffeModelData (string strModelDesc, byte[] rgWeights, byte[] rgImageMean=null, string strSolverDescription=null, List< int > rgInputShape=null) | |
The constructor. More... | |
void | Save (string strFolder, string strName) |
Save the model data to the specified folder under the specified name. More... | |
Properties | |
List< int > | InputShape [getset] |
Get/set the data input shape. More... | |
string | ModelDescription [getset] |
Get/set the model descriptor. More... | |
string | SolverDescription [getset] |
Get/set the solver description. More... | |
byte[] | Weights [get] |
Returns the model weights. More... | |
byte[] | ImageMean [get] |
Returns the image mean if one was specified, or null. More... | |
string | OriginalDownloadFile [getset] |
Specifies the original download file, if any. More... | |
string | LastSavedModeDescriptionFileName [get] |
Returns the file name of the last saved model description file. More... | |
string | LastSaveSolverDescriptionFileName [get] |
Returns the file name of the last saved solver description file. More... | |
string | LastSavedWeightsFileName [get] |
Returns the file name of the last saved weights file. More... | |
string | LastSavedImageMeanFileName [get] |
Returns the file name of the last saved image mean file. More... | |
The MyCaffeModelData object contains the model descriptor, model weights and optionally the image mean.
Definition at line 13 of file MyCaffeModelData.cs.
MyCaffe.basecode.MyCaffeModelData.MyCaffeModelData | ( | string | strModelDesc, |
byte[] | rgWeights, | ||
byte[] | rgImageMean = null , |
||
string | strSolverDescription = null , |
||
List< int > | rgInputShape = null |
||
) |
The constructor.
strModelDesc | Specifies the model descriptor. |
rgWeights | Specifies the model weights. |
rgImageMean | Optionally, specifies the image mean (default = null). |
strSolverDescription | Optionally, specifies the solver description. |
rgInputShape | Specifies the input data shape. |
Definition at line 34 of file MyCaffeModelData.cs.
void MyCaffe.basecode.MyCaffeModelData.Save | ( | string | strFolder, |
string | strName | ||
) |
Save the model data to the specified folder under the specified name.
strFolder | Specifies the folder where the data is to be saved. |
strName | Specifies the base name of the files. |
Definition at line 102 of file MyCaffeModelData.cs.
|
get |
Returns the image mean if one was specified, or null.
Definition at line 83 of file MyCaffeModelData.cs.
|
getset |
Get/set the data input shape.
Definition at line 48 of file MyCaffeModelData.cs.
|
get |
Returns the file name of the last saved image mean file.
Definition at line 195 of file MyCaffeModelData.cs.
|
get |
Returns the file name of the last saved model description file.
Definition at line 171 of file MyCaffeModelData.cs.
|
get |
Returns the file name of the last saved weights file.
Definition at line 187 of file MyCaffeModelData.cs.
|
get |
Returns the file name of the last saved solver description file.
Definition at line 179 of file MyCaffeModelData.cs.
|
getset |
Get/set the model descriptor.
Definition at line 57 of file MyCaffeModelData.cs.
|
getset |
Specifies the original download file, if any.
Definition at line 91 of file MyCaffeModelData.cs.
|
getset |
Get/set the solver description.
Definition at line 66 of file MyCaffeModelData.cs.
|
get |
Returns the model weights.
Definition at line 75 of file MyCaffeModelData.cs.