![]() |
MyCaffe
1.12.2.2
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) | |
| The constructor. More... | |
| void | Save (string strFolder, string strName) |
| Save the model data to the specified folder under the specified name. More... | |
Properties | |
| string | ModelDescription [getset] |
| Get/set the model descriptor. 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 | 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.converter.onnx.MyCaffeModelData.MyCaffeModelData | ( | string | strModelDesc, |
| byte[] | rgWeights, | ||
| byte[] | rgImageMean = null |
||
| ) |
The constructor.
| strModelDesc | Specifies the model descriptor. |
| rgWeights | Specifies the model weights. |
| rgImageMean | Optionally, specifies the image mean (default = null). |
Definition at line 29 of file MyCaffeModelData.cs.
| void MyCaffe.converter.onnx.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 75 of file MyCaffeModelData.cs.
|
get |
Returns the image mean if one was specified, or null.
Definition at line 56 of file MyCaffeModelData.cs.
|
get |
Returns the file name of the last saved image mean file.
Definition at line 146 of file MyCaffeModelData.cs.
|
get |
Returns the file name of the last saved model description file.
Definition at line 130 of file MyCaffeModelData.cs.
|
get |
Returns the file name of the last saved weights file.
Definition at line 138 of file MyCaffeModelData.cs.
|
getset |
Get/set the model descriptor.
Definition at line 39 of file MyCaffeModelData.cs.
|
getset |
Specifies the original download file, if any.
Definition at line 64 of file MyCaffeModelData.cs.
|
get |
Returns the model weights.
Definition at line 48 of file MyCaffeModelData.cs.