Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
xiaobing 10718ee115 | 1 year ago | |
---|---|---|
.. | ||
presenterserver | 1 year ago | |
README.md | 2 years ago | |
README_CN.md | 2 years ago | |
run_presenter_server.sh | 3 years ago | |
sample_common.sh | 2 years ago | |
testcase_common.sh | 2 years ago | |
verify_result.py | 2 years ago |
This directory contain public file path for samples repository. Common public files have been encapsulated in terms of all samples. By doing so, duplicate sample files have been removed and repeated codes are reduced.
presentserver + run_presenter_server.sh
You can refer to the sample_run.sh script in googlenet_imagenet_video sample for uses of presentserver.
sample_common.sh
Common scripts used for quick integration and execution of various samples. Descriptions including common functions are as follows.
Name | Function | Dependent variable |
---|---|---|
find_model | input model name to check if it exists under ${ModelPath] | ModelPath |
target_kernel | target compiler architecture | None |
build | compile according to target_kernel | TargetKernel,ScriptPath |
running_presenter | use run_presenter_server.sh for C++ samples and run common presentserver | ScriptPath,conf_file_name,common_script_dir,running_command, data_command |
running_presenter_python | use run_presenter_server.sh for python samples and run common presentserver | ScriptPath,conf_file_name,common_script_dir,running_command, data_command |
running | set ${running_command} before running image samples | ScriptPath,running_command |
testcase_common.sh + verify_result.py
Here are common scripts and verification files used in ST tests of various samples. ST tests are used for testing samples in an environment where development and execution are on the same device, for more information visit st.
CANN Samples
Text Python C++ C Markdown other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》