-
【功能模块】【操作步骤&问题现象】1、在技能开发时,为什么导入自己模型就不能在摄像头上看到结果了2、【截图信息】【日志信息】(可选,上传日志内容或者附件)
-
【功能模块】【操作步骤&问题现象】1、2、【截图信息】【日志信息】(可选,上传日志内容或者附件)
-
我进入Hilens Studio->新建Project->选Mask_Detection_C76模板->Hilens Studio中可以运行,然后直接从右下方部署安装到自己的Hilens kit上,Hilens kit没反应,接了HDMI的屏幕黑屏这怎么解决啊?
-
求助各位大神!【功能模块】Hilens平台-Hilens Studio【操作步骤&问题现象】用Hilens Studio模拟调试代码,报错:加载模型失败1.模型用的是AI Gallary里的YoloV3Resnet,在ModelArts训练完毕,可以成功在线部署测试图片。2.通过Hilens平台模型管理,转换Tensorflow_FrozenGraph为Ascend_Hilens模型3.上传到Hilens Studio中,运行代码时,就报错:加载模型失败【截图信息】【日志信息】(可选,上传日志内容或者附件)
-
问题:---------------------------------------------------------------------------在Hilens studio中测试pyttsx3文本转音频,出现错误注:已安装pyttsx包和espeak包源代码如下:-------------------------------------------------------------------------#! /usr/bin/python3.7import osimport cv2import hilensimport pyttsx3import espeakdef run(work_path): # 系统初始化,参数要与创建技能时填写的检验值保持一致 hilens.init("hello") engine = pyttsx3.init() engine.say('HERE PASS THE TEXT TO CONVERT INTO SPEECH') engine.runAndWait()if __name__ == "__main__": run(os.getcwd())错误提示:-------------------------------------------------------------------------[huser@studio-ide-679f67bb45-866xw Hello_haq]$ cd /home/huser/projects/Hello_haq[huser@studio-ide-679f67bb45-866xw Hello_haq]$ python3 /home/huser/projects/Hello_haq/start.pyTraceback (most recent call last): File "/home/huser/projects/Hello_haq/start.py", line 5, in <module> import main File "./src/main/python/main.py", line 7, in <module> import espeakModuleNotFoundError: No module named 'espeak'[huser@studio-ide-679f67bb45-866xw Hello_haq]$ pip3 install espeak --userWARNING: When the --extra-index-url option is used, the installation package is downloaded from an unverified URL. Exercise caution when using this option.Looking in indexes: http://mirrors.myhuaweicloud.com/pypi/web/simpleCollecting espeak Downloading http://mirrors.myhuaweicloud.com/pypi/web/packages/31/36/30bbc9d4d8a3d7e5edc046cfaf0410434f583a36461122849c1cdfd363eb/espeak-0.1.0.tar.gzRequirement already satisfied: requests in /usr/lib64/python3.7/site-packages (from espeak) (2.26.0)Requirement already satisfied: certifi>=2017.4.17 in /usr/lib64/python3.7/site-packages (from requests->espeak) (2021.10.8)Requirement already satisfied: charset-normalizer~=2.0.0; python_version >= "3" in /usr/lib64/python3.7/site-packages (from requests->espeak) (2.0.7)Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib64/python3.7/site-packages (from requests->espeak) (1.26.7)Requirement already satisfied: idna<4,>=2.5; python_version >= "3" in /usr/lib64/python3.7/site-packages (from requests->espeak) (3.3)Installing collected packages: espeak Running setup.py install for espeak ... doneSuccessfully installed espeak-0.1.0[huser@studio-ide-679f67bb45-866xw Hello_haq]$ cd /home/huser/projects/Hello_haq[huser@studio-ide-679f67bb45-866xw Hello_haq]$ python3 /home/huser/projects/Hello_haq/start.py[SFW]2022-06-18 09:00:14.889[INFO](14031-device_checker.cpp:71)----- start DetectDevice ------[DEVICE]2022-06-18 09:00:14.911[INFO](14031-acl_mediaplugin.cpp:19)-----------load acl_C75 Media---------[DEVICE]2022-06-18 09:00:15.163[INFO](14031-acl_inferplugin.cpp:26)-----------load acl_C75 Infer---------Traceback (most recent call last): File "/home/huser/.local/lib/python3.7/site-packages/pyttsx3/__init__.py", line 20, in init eng = _activeEngines[driverName] File "/usr/lib64/python3.7/weakref.py", line 137, in __getitem__ o = self.data[key]()KeyError: NoneDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "/home/huser/projects/Hello_haq/start.py", line 17, in <module> main.run(work_path) File "./src/main/python/main.py", line 13, in run engine = pyttsx3.init() File "/home/huser/.local/lib/python3.7/site-packages/pyttsx3/__init__.py", line 22, in init eng = Engine(driverName, debug) File "/home/huser/.local/lib/python3.7/site-packages/pyttsx3/engine.py", line 30, in __init__ self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug) File "/home/huser/.local/lib/python3.7/site-packages/pyttsx3/driver.py", line 50, in __init__ self._module = importlib.import_module(name) File "/usr/lib64/python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/huser/.local/lib/python3.7/site-packages/pyttsx3/drivers/espeak.py", line 9, in <module> from . import _espeak, toUtf8, fromUtf8 File "/home/huser/.local/lib/python3.7/site-packages/pyttsx3/drivers/_espeak.py", line 18, in <module> dll = cdll.LoadLibrary('libespeak.so.1') File "/usr/lib64/python3.7/ctypes/__init__.py", line 437, in LoadLibrary return self._dlltype(name) File "/usr/lib64/python3.7/ctypes/__init__.py", line 359, in __init__ self._handle = _dlopen(self._name, mode)OSError: libespeak.so.1: cannot open shared object file: No such file or directory麻烦帮忙看下如何解决,谢谢!截图如下:-----------------------------------------------------------------------
-
问题:---------------------------------------------------------------------------在Hilens studio中测试输出音频,显示错误将技能安装到Hilens中亦没有任何输出注1:Hilens固件版本:1.3.3;注2:附件中包括acc音频文件源代码如下:-------------------------------------------------------------------------#! /usr/bin/python3.7import osimport hilens# import wavedef run(work_path): # 系统初始化,参数要与创建技能时填写的检验值保持一致 hilens.init("hello") audio_out = hilens.AudioOutput() audio_out.play_aac_file(os.path.join(work_path, 'rain.acc'), 3) hilens.terminate()if __name__ == "__main__": run(os.getcwd())错误提示:-------------------------------------------------------------------------cd /home/huser/projects/Hello_World_Python_haqpython3 /home/huser/projects/Hello_World_Python_haq/start.py[huser@studio-ide-679f67bb45-866xw ~]$ cd /home/huser/projects/Hello_World_Python_haq[huser@studio-ide-679f67bb45-866xw Hello_World_Python_haq]$ python3 /home/huser/projects/Hello_World_Python_haq/start.py[SFW]2022-06-18 06:30:27.596[INFO](11414-device_checker.cpp:71)----- start DetectDevice ------[DEVICE]2022-06-18 06:30:27.618[INFO](11414-acl_mediaplugin.cpp:19)-----------load acl_C75 Media---------[DEVICE]2022-06-18 06:30:27.871[INFO](11414-acl_inferplugin.cpp:26)-----------load acl_C75 Infer---------[huser@studio-ide-679f67bb45-866xw Hello_World_Python_haq]$ cd /home/huser/projects/Hello_World_Python_haq[huser@studio-ide-679f67bb45-866xw Hello_World_Python_haq]$ python3 /home/huser/projects/Hello_World_Python_haq/start.py[SFW]2022-06-18 06:30:35.051[INFO](11501-device_checker.cpp:71)----- start DetectDevice ------[DEVICE]2022-06-18 06:30:35.073[INFO](11501-acl_mediaplugin.cpp:19)-----------load acl_C75 Media---------[DEVICE]2022-06-18 06:30:35.326[INFO](11501-acl_inferplugin.cpp:26)-----------load acl_C75 Infer---------Segmentation fault (core dumped)[huser@studio-ide-679f67bb45-866xw Hello_World_Python_haq]$ 麻烦帮忙看下如何解决,谢谢!截图如下:-----------------------------------------------------------------------
-
【功能模块】【操作步骤&问题现象】1、2、【截图信息】【日志信息】(可选,上传日志内容或者附件)
-
【功能模块】【操作步骤&问题现象】1、2、【截图信息】【日志信息】(可选,上传日志内容或者附件)
-
【功能模块】【操作步骤&问题现象】1、2、【截图信息】【日志信息】(可选,上传日志内容或者附件)
-
【功能模块】【操作步骤&问题现象】1、2、【截图信息】【日志信息】(可选,上传日志内容或者附件)
-
1、想要查看日志,提示需要更新固件至1.0.7以上,请问如何更新2、按照样例转换从AI Gallery上下载数据集训练并转换为.om文件后加载模型时提示错误:[DEVICE]2022-05-27 22:17:39.477[ERROR](2893-model_process.cpp:116)load model from file failed, ret = 507027[DEVICE]2022-05-27 22:17:39.477[ERROR](2893-acl_infer_impl.cpp:87)load model failed, model file is /home/huser/projects/ped_car_detect/model/convert-car-ped-detect.om[DEVICE]2022-05-27 22:17:39.477[INFO](2893-acl_infer_impl.cpp:170)load model /home/huser/projects/ped_car_detect/model/convert-car-ped-detect.om failed[DEVICE]2022-05-27 22:17:39.477[ERROR](2893-acl_infer_impl.cpp:62)Model: ACL resource init failed[DEVICE]2022-05-27 22:17:39.477[WARN](2893-model_process.cpp:299)no model had been loaded, unload failedTraceback (most recent call last): File "/home/huser/projects/ped_car_detect/start.py", line 17, in <module> main.run(work_path) File "./src/main/python/main.py", line 18, in run mask_model = hilens.Model(mask_model_path) File "/usr/lib64/python3.7/site-packages/hilens.py", line 140, in __init__ raise CreateError("failed to create Model")hilens.CreateError: 'failed to create Model'
-
在使用Hilens Studio开发完成后,运行可以显示输出画面。安装技能到Hilens Kit,显示successful 但启动技能后没有图像输出
-
获取您的EI红宝书:https://www.huaweicloud.com/ei/ AI测试是对基于AI的应用系统的测试;与任何系统一样,基于AI的系统具有功能性和非功能性需求。AI应用测试的主要流程包括场景分析,特征因子分析,数据构建,评测指标,自动化方案等AI应用测试AI测试任务分层AI应用测试框架关键角色AI开发工程师负责设计、开发实现、数据验收、自测、调优等工作数据工程师负责数据采集、数据清洗、数据整合、数据标注、数据质量检测等工作测试工程师负责测试数据采集、测试场景分析、测试方案、测试用例、测试策略、测试自动化、测试验收和评估等工作测试流程和活动① 结合需求描述,梳理典型应用场景,场景使用主体、特点等,将场景细化② 基于场景分析,分析影响Al模型识别率的特征因子,建立特征因子库。不同的AI场景对特征因子要求和复杂度不一样,比如CV应用场景的特征因子有拍摄因素(曝光、角度等)、环境因素(阴晴雨雪、背景等)、属性因素(人物年龄、肤色等)③ 基于应用场景、特征因子等进行数据集构建,包括不限于:数据类别、不同因子比例、环境因素、特定要求等④ 不同业务场景,关注不同的指标,评价的结果也不同,所以需要根据需求场景和侧重点,确定指标和相关定义。比如:有些业务求全,所以召回率优先;有些业务求准,所以准确率优先;有的业务因类别不均衡,要看单个类别的准确率;还有的业务内存非常敏感,所以对模型大小优先。⑤ 自动化批量测试及评测指标统计https://mp.weixin.qq.com/s?__biz=Mzg5Mjc4NjE1Nw==&mid=2247484542&idx=1&sn=4e6a77a15df21988fe72d41e133e8bdf&chksm=c03980fcf74e09eae416f1a5085ecba06804d9e17210e9a32f2706ebe201fbb8ceab4a6d13e8&token=70826191&lang=zh_CN#rd 云与数据- HCCDA-AI合集:https://mp.weixin.qq.com/mp/appmsgalbum?__biz=Mzg5Mjc4NjE1Nw==&action=getalbum&album_id=2398219468813811715&scene=173&from_msgid=2247483927&from_itemidx=1&count=3&nolastread=1#wechat_redirect**
-
【功能模块】【操作步骤&问题现象】1、2、【截图信息】【日志信息】(可选,上传日志内容或者附件)
-
获取您的EI红宝书:https://www.huaweicloud.com/ei/ 华为HiLens为端云协同多模态AI开发应用平台,供简单易用的开发框架、开箱即用的开发环境、丰富的AI技能市场和云上管理平台,接多种端侧计算设备,支持视觉及听觉AI应用开发、AI应用在线部署、海量设备管理等https://mp.weixin.qq.com/s?__biz=Mzg5Mjc4NjE1Nw==&mid=2247484541&idx=1&sn=8356331b4085c76c3a5139407ac59766&chksm=c03980fff74e09e907c12129a5daaa527d20111fa818c74d2acdd0a0e930d4dd8f4d00e0d792&token=1539735248&lang=zh_CN#rd 云与数据- HCCDA-AI合集:https://mp.weixin.qq.com/mp/appmsgalbum?__biz=Mzg5Mjc4NjE1Nw==&action=getalbum&album_id=2398219468813811715&scene=173&from_msgid=2247483927&from_itemidx=1&count=3&nolastread=1#wechat_redirect**
上滑加载中
推荐直播
-
OpenHarmony应用开发之网络数据请求与数据解析
2025/01/16 周四 19:00-20:30
华为开发者布道师、南京师范大学泰州学院副教授,硕士研究生导师,开放原子教育银牌认证讲师
科技浪潮中,鸿蒙生态强势崛起,OpenHarmony开启智能终端无限可能。当下,其原生应用开发适配潜力巨大,终端设备已广泛融入生活各场景,从家居到办公、穿戴至车载。 现在,机会敲门!我们的直播聚焦OpenHarmony关键的网络数据请求与解析,抛开晦涩理论,用真实案例带你掌握数据访问接口,轻松应对复杂网络请求、精准解析Json与Xml数据。参与直播,为开发鸿蒙App夯实基础,抢占科技新高地,别错过!
回顾中 -
Ascend C高层API设计原理与实现系列
2025/01/17 周五 15:30-17:00
Ascend C 技术专家
以LayerNorm算子开发为例,讲解开箱即用的Ascend C高层API
回顾中
热门标签