This action will force synchronization from Ascend/samples, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。