The hb_config_generator is used to support you in obtaining the simplest yaml configuration file and yaml configuration file with all parameter defaults during model compiling. Among them:
| PARAMETER | DESCRIPTION |
-h, --help | Displays help information. |
-s, --simple-yaml | Generate a simplest yaml configuration file that you can use to quickly verify that the model conversion performs properly. |
-f, --full-yaml | Generate a yaml configuration file containing all the default values of the parameters. |
-m, --model | Caffe or ONNX model file. |
-p, --proto | Specify the Prototxt file of the Caffe model. |
--march | BPU's micro architectures, for J6E processor, you should specify it to nash-e, for J6M processor, you should specify it to nash-m. |
The hb_config_generator command will generate the simplest yaml configuration file or the yaml configuration file with default values for all parameters, depending on your configuration.
Please note that you need to modify the default values in the yaml file that contained the full parameter defaults to your current reality before you can use it.