Installing the Custom Inference Service Package
Run the following command to install the custom inference service package. For details about the parameters, see Table 1.
python mxAOIService/scripts/install_custom_scene_files.py --custom_scene=<custom_scene_pipeline> --runtime=<runtime>
Parameter |
Description |
|---|---|
--custom_scene |
Path of the Python script generated by the pipeline in custom scenarios. |
--runtime |
Path of the Python script for process handling in custom scenarios. |
Processes:
- Copy the Python script generated by the pipeline in custom scenarios to mxAOIService/scripts/scene_def.
- Copy the Python script for process handling in custom scenarios to mxAOIService/service/scene.
- Write the configuration information mxAOIService/config/scene_config.yaml of the custom scenarios. The configured dynamic scenarios in this file will be loaded to the inference service to provide the inference function.
The scripts/scene_def/ and service/scene/ directories need to be opened to users for installation in custom scenarios. Therefore, write permission is required.
Parent topic: Process Description