You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, application uses MODEL_BIT_DEPTH=16 mode. Application code size depends on target hardware configuration and compilation flags. MLI Library code is wrapped into mli_lib section.
- Caffe (Python module must be installed and available in environment)
11
+
- lmdb
12
+
- numpy
13
+
14
+
### Quick start
15
+
16
+
Main entry point is ``deployment_main.py`` script. To print available options run:
17
+
18
+
python deployment_main.py --help
19
+
20
+
Caffe standard Cifar-10 tutorial provides tool for CIFAR-10 dataset transformation into LMDB form. User must provide paths to these folders for proper inference time data definition.
21
+
22
+
python deployment_main.py --lmdb_data_dir=<Path>
23
+
24
+
### Structure
25
+
26
+
``README.md`` - This File
27
+
``cifar10_small.prototxt`` - Structure of trained model
28
+
``cifar10_small.caffemodel.h5`` - Caffe Model with coefficients trained on CIFAR-10 dataset
29
+
``deployment_main.py`` - Main script
30
+
``deployment_steps.py`` - Deployment steps implemented in a set of functions
31
+
``mli_fxtools.py`` - Helper classes for accounting statistics and quantization
32
+
33
+
34
+
### Details
35
+
36
+
For more information see:
37
+
1.[Model Deployment Tutorial for Caffe and CIFAR-10](https://embarc.org/embarc_mli/doc/build/html/Examples_Tutorials/Examples_Tutorials.html#model-deployment-tutorial-for-caffe-and-cifar-10)
0 commit comments