[{"data":1,"prerenderedAt":744},["ShallowReactive",2],{"content-query-NdjrsQ8nMz":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"cover":11,"type":12,"state":13,"body":14,"_type":738,"_id":739,"_source":740,"_file":741,"_stem":742,"_extension":743},"/activities/zh/346","zh",false,"","用「头孢+Jina」建立的炫酷「昇腾游乐场」快来体验！","对AI感兴趣，却无从入手？偶然间看到有趣的图片想搜索更多类似的图却不知该如何操作？想知道快速识别录入大量手写数据信息的方法？希望简化AI集群资源管理以及任务调度的相关工作?「昇腾开源游乐场」帮您一步一步实现以上想法","2020-12-13","https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2020/12/14/afc57d2665a24869935118ece82e86d7.png","activities",1,{"type":15,"children":16,"toc":715},"root",[17,25,31,36,41,46,74,79,92,97,109,114,119,138,145,153,167,172,184,189,197,202,207,212,219,225,232,244,257,271,278,283,286,292,311,316,323,328,335,340,347,352,364,371,376,382,416,421,440,445,450,455,460,465,506,511,522,527,538,543,548,553,558,575,580,585,590,595,600,605,610,615,620,625,630,637,642,647,652,657,662,667,672,677,689,696,703,708],{"type":18,"tag":19,"props":20,"children":22},"element","h1",{"id":21},"用头孢jina建立的炫酷昇腾游乐场快来体验",[23],{"type":24,"value":8},"text",{"type":18,"tag":26,"props":27,"children":28},"p",{},[29],{"type":24,"value":30},"硬件极客们：",{"type":18,"tag":26,"props":32,"children":33},{},[34],{"type":24,"value":35},"「昇腾开发者」公众号正式启动啦！关注「昇腾开发者」感受最炫酷的Playground ，来体验用MindSpore+Jina建立的昇腾开源游乐场！",{"type":18,"tag":26,"props":37,"children":38},{},[39],{"type":24,"value":40},"以下文章来源于昇腾开发者 ，作者Ascend",{"type":18,"tag":26,"props":42,"children":43},{},[44],{"type":24,"value":45},"对AI感兴趣，却无从入手？偶然间看到有趣的图片想搜索更多类似的图却不知该如何操作？想知道快速识别录入大量手写数据信息的方法？希望简化AI集群资源管理以及任务调度的相关工作？",{"type":18,"tag":26,"props":47,"children":48},{},[49,62,64,72],{"type":18,"tag":50,"props":51,"children":52},"strong",{},[53,55,60],{"type":24,"value":54},"「昇腾开源游乐场」",{"type":18,"tag":50,"props":56,"children":57},{},[58],{"type":24,"value":59},"帮您一步一步实现以上想法，为了",{"type":24,"value":61},"向广大开发者提供基于昇腾软件栈的交互式AI体验demo",{"type":24,"value":63},"，我们开发了「昇腾开源游乐场」（",{"type":18,"tag":65,"props":66,"children":70},"a",{"href":67,"rel":68},"http://ascend.gitee.io/playground/",[69],"nofollow",[71],{"type":24,"value":67},{"type":24,"value":73},"）",{"type":18,"tag":26,"props":75,"children":76},{},[77],{"type":24,"value":78},"[",{"type":18,"tag":26,"props":80,"children":81},{},[82,84,90],{"type":24,"value":83},"](",{"type":18,"tag":65,"props":85,"children":88},{"href":86,"rel":87},"https://mp.weixin.qq.com/s/6KszgRRwxNeHOQj3cHYmPQ#",[69],[89],{"type":24,"value":86},{"type":24,"value":91},")",{"type":18,"tag":26,"props":93,"children":94},{},[95],{"type":24,"value":96},"昇腾开源游乐场",{"type":18,"tag":26,"props":98,"children":99},{},[100,102,107],{"type":24,"value":101},"在「昇腾开源游乐场」中，您可以通过我们所提供的小型程序，",{"type":18,"tag":50,"props":103,"children":104},{},[105],{"type":24,"value":106},"体验到一些基于昇腾环境非常有趣的AI应用，如昇腾找同款、昇腾助力HPC",{"type":24,"value":108},"等。",{"type":18,"tag":26,"props":110,"children":111},{},[112],{"type":24,"value":113},"在「昇腾开源游乐场」界面中，您可以拖拽一张内置的蘑菇图片或者手动上传一张全新的蘑菇图片，由搜索程序进行识别并返回最接近的蘑菇图片；还可实现手写一个中文数字，由系统识别返回结果的功能。",{"type":18,"tag":26,"props":115,"children":116},{},[117],{"type":24,"value":118},"应用演示",{"type":18,"tag":26,"props":120,"children":121},{},[122,124,129,131,136],{"type":24,"value":123},"为了能让大家对「昇腾开源游乐场」有比较直观的感受，首先带大家一起体验下它提供的两款AI小程序：",{"type":18,"tag":50,"props":125,"children":126},{},[127],{"type":24,"value":128},"昇腾找同款",{"type":24,"value":130},"和",{"type":18,"tag":50,"props":132,"children":133},{},[134],{"type":24,"value":135},"昇腾助力HPC",{"type":24,"value":137},"。",{"type":18,"tag":139,"props":140,"children":142},"h2",{"id":141},"昇腾找同款手写中文数字查询",[143],{"type":24,"value":144},"昇腾找同款：手写中文数字查询",{"type":18,"tag":26,"props":146,"children":147},{},[148],{"type":18,"tag":149,"props":150,"children":152},"img",{"alt":7,"src":151},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2020/12/14/bfea393674a04e4a95b143172dce303d.png",[],{"type":18,"tag":26,"props":154,"children":155},{},[156,158,165],{"type":24,"value":157},"（",{"type":18,"tag":65,"props":159,"children":162},{"href":160,"rel":161},"https://mp.weixin.qq.com/s/6KszgRRwxNeHOQj3cHYmPQ",[69],[163],{"type":24,"value":164},"点击这里",{"type":24,"value":166},"，去原文观看视频）",{"type":18,"tag":26,"props":168,"children":169},{},[170],{"type":24,"value":171},"手写汉字识别有着极为广泛的应用场景，在大规模的数据记录（人口普查等）中，往往需要输入大量的用户信息，以前需要人工手动输入会耗费大量的人力和物力，如今有了AI技术的帮助，这类汉字识别可以通过机器自动进行识别与录入。",{"type":18,"tag":26,"props":173,"children":174},{},[175,177,182],{"type":24,"value":176},"下面以简单的中文数字识别为例，向大家展示用小程序识别手写汉字数字（如：一，二等），",{"type":18,"tag":50,"props":178,"children":179},{},[180],{"type":24,"value":181},"让机器帮您查询并返回和您手写的中文数字最相似的结果",{"type":24,"value":183},"。识别步骤如下：",{"type":18,"tag":26,"props":185,"children":186},{},[187],{"type":24,"value":188},"1. 访问「昇腾开源游乐场」主页面：",{"type":18,"tag":26,"props":190,"children":191},{},[192],{"type":18,"tag":65,"props":193,"children":195},{"href":67,"rel":194},[69],[196],{"type":24,"value":67},{"type":18,"tag":26,"props":198,"children":199},{},[200],{"type":24,"value":201},"2. 在”配置区” -> “查询节点”下拉框选择“LeNet手写中文数字样例”；",{"type":18,"tag":26,"props":203,"children":204},{},[205],{"type":24,"value":206},"3. 在“Preview”界面黑色面板内手写单个中文汉字，暂时仅支持“零至十，百，千，万，亿”等15个中文数字，示例面板为手写中文数字“二”；",{"type":18,"tag":26,"props":208,"children":209},{},[210],{"type":24,"value":211},"4. 点击“查询”按钮会返回与手写“二”最为相似的三张结果图。",{"type":18,"tag":26,"props":213,"children":214},{},[215],{"type":18,"tag":149,"props":216,"children":218},{"alt":7,"src":217},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2020/12/14/50a8af88024c40348959fc4ff25f2028.png",[],{"type":18,"tag":139,"props":220,"children":222},{"id":221},"昇腾找同款毒蘑菇搜索",[223],{"type":24,"value":224},"昇腾找同款：毒蘑菇搜索",{"type":18,"tag":26,"props":226,"children":227},{},[228],{"type":18,"tag":149,"props":229,"children":231},{"alt":7,"src":230},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2020/12/14/f4748d8ecfdd47e2b55936d0f1bd75c8.png",[],{"type":18,"tag":233,"props":234,"children":236},"h5",{"id":235},"点击这里去原文观看视频",[237,238,243],{"type":24,"value":157},{"type":18,"tag":65,"props":239,"children":241},{"href":160,"rel":240},[69],[242],{"type":24,"value":164},{"type":24,"value":166},{"type":18,"tag":233,"props":245,"children":247},{"id":246},"大千世界蘑菇种类数不胜数是否可以通过ai技术来鉴别蘑菇毒性呢通过昇腾开源游乐场只需将任一张蘑菇图片拖拽到交互区昇腾找同款应用就会从检索库保存的数千张蘑菇图片中搜索出50张同类或最相似的蘑菇图片听上去是不是很酷炫",[248,250,255],{"type":24,"value":249},"大千世界蘑菇种类数不胜数，是否可以通过AI技术来鉴别蘑菇毒性呢？通过「昇腾开源游乐场」只需将任一张蘑菇图片拖拽到交互区，",{"type":18,"tag":50,"props":251,"children":252},{},[253],{"type":24,"value":254},"昇腾找同款应用就会从检索库保存的数千张蘑菇图片中搜索出50张同类或最相似的蘑菇图片",{"type":24,"value":256},"，听上去是不是很酷炫？！",{"type":18,"tag":233,"props":258,"children":260},{"id":259},"想要亲自上手体验一下的话只需打开httpascendgiteeioplayground页面配置区选择resnet50毒蘑菇样例然后您可以从查询样例中选择一张蘑菇图片拖拽到右侧的搜索区即可应用展示效果如下",[261,263,269],{"type":24,"value":262},"想要亲自上手体验一下的话，只需打开",{"type":18,"tag":65,"props":264,"children":267},{"href":265,"rel":266},"http://ascend.gitee.io/playground",[69],[268],{"type":24,"value":265},{"type":24,"value":270},"页面，配置区选择ResNet50毒蘑菇样例，然后您可以从查询样例中选择一张蘑菇图片拖拽到右侧的搜索区即可，应用展示效果如下：",{"type":18,"tag":26,"props":272,"children":273},{},[274],{"type":18,"tag":149,"props":275,"children":277},{"alt":7,"src":276},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2020/12/14/a7319e8049c24de5b35e1ce40b93d2bf.png",[],{"type":18,"tag":26,"props":279,"children":280},{},[281],{"type":24,"value":282},"△昇腾找同款毒蘑菇搜索效果展示",{"type":18,"tag":233,"props":284,"children":285},{"id":7},[],{"type":18,"tag":139,"props":287,"children":289},{"id":288},"昇腾助力hpc集群资源管理",[290],{"type":24,"value":291},"昇腾助力HPC：集群资源管理",{"type":18,"tag":26,"props":293,"children":294},{},[295,297,302,304,310],{"type":24,"value":296},"当您准备或已经在HPC（High Performance Computing）等大规模计算场景使用了昇腾AI集群，希望",{"type":18,"tag":50,"props":298,"children":299},{},[300],{"type":24,"value":301},"简化集群资源管理以及任务调度的相关工作",{"type":24,"value":303},"，那么可以使用由北大团队合作贡献到昇腾开源社区的slurm plugin项目（",{"type":18,"tag":65,"props":305,"children":308},{"href":306,"rel":307},"https://gitee.com/ascend/slurm-atlas-plugin",[69],[309],{"type":24,"value":306},{"type":24,"value":73},{"type":18,"tag":26,"props":312,"children":313},{},[314],{"type":24,"value":315},"1. 查询集群状态：",{"type":18,"tag":26,"props":317,"children":318},{},[319],{"type":18,"tag":149,"props":320,"children":322},{"alt":7,"src":321},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2020/12/14/cd6b482b607f4691a79bef822d8b2bdc.png",[],{"type":18,"tag":26,"props":324,"children":325},{},[326],{"type":24,"value":327},"2. 查询节点资源：",{"type":18,"tag":26,"props":329,"children":330},{},[331],{"type":18,"tag":149,"props":332,"children":334},{"alt":7,"src":333},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2020/12/14/03665114d52849048c3be3267cc7cfbb.png",[],{"type":18,"tag":26,"props":336,"children":337},{},[338],{"type":24,"value":339},"3.查询分区资源：",{"type":18,"tag":26,"props":341,"children":342},{},[343],{"type":18,"tag":149,"props":344,"children":346},{"alt":7,"src":345},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2020/12/14/fa7ecd0d431b435dbaafd1cdf063e693.png",[],{"type":18,"tag":26,"props":348,"children":349},{},[350],{"type":24,"value":351},"方案设计与开源实现",{"type":18,"tag":26,"props":353,"children":354},{},[355,357,362],{"type":24,"value":356},"刚刚和大家一起体验了「昇腾开源游乐场」 有趣的应用，相信您一定还想知道更加详细的知识，接下来我们一起来看下整体方案的实现原理，值得一提的是",{"type":18,"tag":50,"props":358,"children":359},{},[360],{"type":24,"value":361},"整个游乐场都是用开源软件搭建",{"type":24,"value":363},"的！",{"type":18,"tag":26,"props":365,"children":366},{},[367],{"type":18,"tag":149,"props":368,"children":370},{"alt":7,"src":369},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2020/12/14/ae3561fdc3d04d74b892e598cf5e12a6.png",[],{"type":18,"tag":139,"props":372,"children":374},{"id":373},"前端交互界面",[375],{"type":24,"value":373},{"type":18,"tag":233,"props":377,"children":379},{"id":378},"_1-先了解下如何实现炫酷的ui界面",[380],{"type":24,"value":381},"1. 先了解下如何实现炫酷的UI界面？",{"type":18,"tag":233,"props":383,"children":385},{"id":384},"我们的前端服务采用了html-css-javascript等技术基于jinaboxjs项目httpsgithubcomjina-aijinaboxjs-实现了可视化的操作页面用户只需在页面上轻松的动动手比如手写一个中文汉字或拖拽一张蘑菇图片发送查询就可以返回结果了",[386,388,393,395,401,403,408,410,415],{"type":24,"value":387},"我们的前端服务采用了",{"type":18,"tag":50,"props":389,"children":390},{},[391],{"type":24,"value":392},"HTML + CSS + JavaScript等技术",{"type":24,"value":394},"，基于jinabox.js项目（",{"type":18,"tag":65,"props":396,"children":399},{"href":397,"rel":398},"https://github.com/jina-ai/jinabox.js/",[69],[400],{"type":24,"value":397},{"type":24,"value":402}," ）实现了可视化的操作页面，用户",{"type":18,"tag":50,"props":404,"children":405},{},[406],{"type":24,"value":407},"只需在页面上轻松的动动手",{"type":24,"value":409},"，比如手写一个中文汉字或拖拽一张蘑菇图片，",{"type":18,"tag":50,"props":411,"children":412},{},[413],{"type":24,"value":414},"发送查询就可以返回结果了",{"type":24,"value":137},{"type":18,"tag":26,"props":417,"children":418},{},[419],{"type":24,"value":420},"2. 前端交互界面和后台服务之间如何通信？",{"type":18,"tag":26,"props":422,"children":423},{},[424,426,431,433,438],{"type":24,"value":425},"如上图所示，",{"type":18,"tag":50,"props":427,"children":428},{},[429],{"type":24,"value":430},"前端页面会根据用户的操作发送相应的http请求",{"type":24,"value":432},"，并",{"type":18,"tag":50,"props":434,"children":435},{},[436],{"type":24,"value":437},"通过RESTful API与后端的三个服务器站点建立通信",{"type":24,"value":439},"。其RESTful API格式如下：",{"type":18,"tag":26,"props":441,"children":442},{},[443],{"type":24,"value":444},"· http://{host_ip}:{port}/api-server/search，POST操作",{"type":18,"tag":26,"props":446,"children":447},{},[448],{"type":24,"value":449},"· http://{host_ip}:{port}/cluster，GET操作",{"type":18,"tag":26,"props":451,"children":452},{},[453],{"type":24,"value":454},"· http://{host_ip}:{port}/nodes，GET操作",{"type":18,"tag":26,"props":456,"children":457},{},[458],{"type":24,"value":459},"· http://{host_ip}:{port}/partitions，GET操作",{"type":18,"tag":139,"props":461,"children":463},{"id":462},"后台搜索服务",[464],{"type":24,"value":462},{"type":18,"tag":26,"props":466,"children":467},{},[468,470,475,476,483,485,490,491,497,499,504],{"type":24,"value":469},"我们的后台搜索服务主要采用了",{"type":18,"tag":50,"props":471,"children":472},{},[473],{"type":24,"value":474},"Jina服务",{"type":24,"value":157},{"type":18,"tag":65,"props":477,"children":480},{"href":478,"rel":479},"https://github.com/jina-ai/jina%EF%BC%89+",[69],[481],{"type":24,"value":482},"https://github.com/jina-ai/jina）+",{"type":24,"value":484}," ",{"type":18,"tag":50,"props":486,"children":487},{},[488],{"type":24,"value":489},"MindSpore框架",{"type":24,"value":157},{"type":18,"tag":65,"props":492,"children":495},{"href":493,"rel":494},"https://www.mindspore.cn",[69],[496],{"type":24,"value":493},{"type":24,"value":498},"/） + ",{"type":18,"tag":50,"props":500,"children":501},{},[502],{"type":24,"value":503},"Ascend后端的对接方案",{"type":24,"value":505},"，同时通过Jina内置的Gateway服务实现外部功能。在Jina中，我们可以使用Flow来描述流水线的任务。",{"type":18,"tag":26,"props":507,"children":508},{},[509],{"type":24,"value":510},"以手写中文数字应用为例，查询过程中涉及Index和 Query 两个Flow，它们的使用yaml文件定义如下：",{"type":18,"tag":26,"props":512,"children":513},{},[514,518],{"type":18,"tag":149,"props":515,"children":517},{"alt":7,"src":516},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2020/12/14/c60f84749b0f4c209d64bc98a2a3f218.png",[],{"type":18,"tag":149,"props":519,"children":521},{"alt":7,"src":520},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2020/12/14/f4a1a46a46e54fa9980d2a18e8f1312b.png",[],{"type":18,"tag":26,"props":523,"children":524},{},[525],{"type":24,"value":526},"左:Index Flow yaml文件定义 右:Query Flow yaml文件定义",{"type":18,"tag":26,"props":528,"children":529},{},[530,532,537],{"type":24,"value":531},"两个Flow过程都由craft，encode，vec，doc 4个yaml文件构成，大致可以概括为",{"type":18,"tag":50,"props":533,"children":534},{},[535],{"type":24,"value":536},"读取数据，将数据转换为模型可处理的矩阵矢量格式，加载模型，对矢量数据进行处理，最后建立索引结果",{"type":24,"value":137},{"type":18,"tag":26,"props":539,"children":540},{},[541],{"type":24,"value":542},"即：将手写的中文数字“二”图片数据，经处理后输入28*28大小的图片，然后经encode转换为[-1, 1, 28, 28 ]的矢量数据，形如NCHW格式，为MindSpore LeNet可处理的矩阵数据格式，加载已经预先训练中文汉字数据集生成的MindSpore LeNet checkpoint文件，处理矩阵数据，最后可生成结果索引文件，查询数据集中与用户输入图片最为相似的结果返回。",{"type":18,"tag":139,"props":544,"children":546},{"id":545},"集群资源管理",[547],{"type":24,"value":545},{"type":18,"tag":26,"props":549,"children":550},{},[551],{"type":24,"value":552},"在介绍昇腾集群资源管理方案之前，先来补充下相关知识点：",{"type":18,"tag":26,"props":554,"children":555},{},[556],{"type":24,"value":557},"1. 首先，什么是Slurm？",{"type":18,"tag":26,"props":559,"children":560},{},[561,566,568,573],{"type":18,"tag":50,"props":562,"children":563},{},[564],{"type":24,"value":565},"Slurm",{"type":24,"value":567},"（Simple Linux Utility for Resource Management）",{"type":18,"tag":50,"props":569,"children":570},{},[571],{"type":24,"value":572},"是一套用于Linux集群的开源集群管理和作业调度系统",{"type":24,"value":574},"，（敲黑板）注意重点是Linux工具、集群管理和作业调度。",{"type":18,"tag":26,"props":576,"children":577},{},[578],{"type":24,"value":579},"Slurm中包含几个重要的实体概念：",{"type":18,"tag":26,"props":581,"children":582},{},[583],{"type":24,"value":584},"· 集群（cluster）：",{"type":18,"tag":26,"props":586,"children":587},{},[588],{"type":24,"value":589},"由单个或多个节点构成的一种计算节点集合",{"type":18,"tag":26,"props":591,"children":592},{},[593],{"type":24,"value":594},"· 节点（node）：",{"type":18,"tag":26,"props":596,"children":597},{},[598],{"type":24,"value":599},"用于表示物理机或虚拟机，通常以主机名命名",{"type":18,"tag":26,"props":601,"children":602},{},[603],{"type":24,"value":604},"· 分区（partition）：",{"type":18,"tag":26,"props":606,"children":607},{},[608],{"type":24,"value":609},"跨越多个节点的逻辑区域",{"type":18,"tag":26,"props":611,"children":612},{},[613],{"type":24,"value":614},"· 作业（job）：",{"type":18,"tag":26,"props":616,"children":617},{},[618],{"type":24,"value":619},"执行某一段特定程序的任务",{"type":18,"tag":26,"props":621,"children":622},{},[623],{"type":24,"value":624},"· 队列（queue）：",{"type":18,"tag":26,"props":626,"children":627},{},[628],{"type":24,"value":629},"当提交的作业资源超出可用配额时，将作业放入队列",{"type":18,"tag":26,"props":631,"children":632},{},[633],{"type":18,"tag":149,"props":634,"children":636},{"alt":7,"src":635},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2020/12/14/a0fe2ecaf96943cfbe523ed8aad3bdab.png",[],{"type":18,"tag":26,"props":638,"children":639},{},[640],{"type":24,"value":641},"Slurm集群逻辑架构",{"type":18,"tag":26,"props":643,"children":644},{},[645],{"type":24,"value":646},"如上图所示，Slurm包含了如下组件：",{"type":18,"tag":26,"props":648,"children":649},{},[650],{"type":24,"value":651},"· slurmctld：",{"type":18,"tag":26,"props":653,"children":654},{},[655],{"type":24,"value":656},"监控集群资源和作业状态",{"type":18,"tag":26,"props":658,"children":659},{},[660],{"type":24,"value":661},"· slurmd：",{"type":18,"tag":26,"props":663,"children":664},{},[665],{"type":24,"value":666},"作为计算节点的守护进程，用于管理compute节点和与control节点的通信",{"type":18,"tag":26,"props":668,"children":669},{},[670],{"type":24,"value":671},"· slurmdbd：",{"type":18,"tag":26,"props":673,"children":674},{},[675],{"type":24,"value":676},"用于在数据库两种记录多个slurm管理集群的作业统计信息（可选）",{"type":18,"tag":26,"props":678,"children":679},{},[680,682,687],{"type":24,"value":681},"2. 接下来，我们一起看下",{"type":18,"tag":50,"props":683,"children":684},{},[685],{"type":24,"value":686},"昇腾资源管理系统",{"type":24,"value":688},"是什么样子？",{"type":18,"tag":26,"props":690,"children":691},{},[692],{"type":18,"tag":149,"props":693,"children":695},{"alt":7,"src":694},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2020/12/14/c56044bf47884ab981f9e9197d3179b4.png",[],{"type":18,"tag":26,"props":697,"children":698},{},[699],{"type":18,"tag":149,"props":700,"children":702},{"alt":7,"src":701},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2020/12/14/0b621b527ebe439287a7ef534197e019.png",[],{"type":18,"tag":26,"props":704,"children":705},{},[706],{"type":24,"value":707},"想要更全面了解昇腾并收获更多新奇体验，可以通过扫描下图二维码加入昇腾开源社区，在这里您可以通过Issue建立直达Commiter的交流渠道，快速闭环问题和需求，还能参加社区活动，回复Issue，获取激励，更多收获可参考下图↓",{"type":18,"tag":26,"props":709,"children":710},{},[711],{"type":18,"tag":149,"props":712,"children":714},{"alt":7,"src":713},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2020/12/14/d5607539827149a2ad21320e98da5ead.png",[],{"title":7,"searchDepth":716,"depth":716,"links":717},4,[718,720,730,731,736,737],{"id":141,"depth":719,"text":144},2,{"id":221,"depth":719,"text":224,"children":721},[722,725,727,729],{"id":235,"depth":723,"text":724},5,"（点击这里，去原文观看视频）",{"id":246,"depth":723,"text":726},"大千世界蘑菇种类数不胜数，是否可以通过AI技术来鉴别蘑菇毒性呢？通过「昇腾开源游乐场」只需将任一张蘑菇图片拖拽到交互区，昇腾找同款应用就会从检索库保存的数千张蘑菇图片中搜索出50张同类或最相似的蘑菇图片，听上去是不是很酷炫？！",{"id":259,"depth":723,"text":728},"想要亲自上手体验一下的话，只需打开http://ascend.gitee.io/playground页面，配置区选择ResNet50毒蘑菇样例，然后您可以从查询样例中选择一张蘑菇图片拖拽到右侧的搜索区即可，应用展示效果如下：",{"id":7,"depth":723,"text":7},{"id":288,"depth":719,"text":291},{"id":373,"depth":719,"text":373,"children":732},[733,734],{"id":378,"depth":723,"text":381},{"id":384,"depth":723,"text":735},"我们的前端服务采用了HTML + CSS + JavaScript等技术，基于jinabox.js项目（https://github.com/jina-ai/jinabox.js/ ）实现了可视化的操作页面，用户只需在页面上轻松的动动手，比如手写一个中文汉字或拖拽一张蘑菇图片，发送查询就可以返回结果了。",{"id":462,"depth":719,"text":462},{"id":545,"depth":719,"text":545},"markdown","content:activities:zh:346.md","content","activities/zh/346.md","activities/zh/346","md",1776506025417]