Obtaining Model Paths
This API is used to obtain the path of the directory where the skill model is located. The path ends with a slash (/). This function is applicable to the scenario where a model is selected and delivered on the model management page during skill creation. The model file is downloaded to a dedicated location for storing models. This function is used to obtain the directory where the model is located. If the HiLens Framework does not obtain the directory where the model is located, the current path (the directory where the code is stored) is returned.
- API calling
hilens.get_model_dir()
- Return value
A character string is returned, indicating the path of the skill model. If the operation fails, an empty character string is returned.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot