DLMODEL_SOURCE(1) | User Commands | DLMODEL_SOURCE(1) |
dlmodel_source - create a structured deep learning model directory
dlmodel_source
dlmodel_source helps to create a structured deep learning (DL) model directory via CLI. Please refer to the specification section below for more details.
The structured directory will be created in /tmp.
Questions for collecting model information:
Example of a structured DL model directory:
<modelname-version>
|-- assets
| |-- labels.txt
| `-- <optional-config-files>
|-- LICENSE # optional currently
|-- meta.json
`-- model.pb
Metadata, meta.json, describes all the details in the structured model directory.
Example of meta.json
# Note: model directory name is fight-detection-1.0.0
{
"name": "fight-detection",
"version": "1.0.0",
"inference-engine": "tensorflow",
"model": "model.pb",
"label": "assets/labels.txt",
# optional configs
"config": {
"<optional-key>": "<optional-value>",
"<optional-key>": "<optional-value>",
...
},
"checksums-sha256": {
"model.pb": "<sha256sum>",
"assets/labels.txt": "<sha256sum>",
"<optional-file-path>": "<sha256sum>",
...
}
}
October 2017 | DLMobelBox |