pyonnx-example:使用python实现基于onnxruntime的一些模型推断-源码

上传者: 42135073 | 上传时间: 2021-07-26 10:54:11 | 文件大小: 4.11MB | 文件类型: ZIP
例子 介绍 使用python实现基于onnxruntime推理框架的深度学习模型的推理功能。 可以将onnx模型转换为大多数主流的深度学习推理框架模型,因此您可以在部署模型之前测试onnx模型是否正确。 注意:此处的模型由pytorch 1.6训练,并由onnx 1.8.1转换 要求 onnx == 1.8.1 onnxruntime == 1.7.0或onnxruntime-gpu == 1.3.0 opencv-python == 4.2.0.32 运行演示 该演示以main_xxx_.py格式命名。您可以使用以下示例运行代码。 python main_pose_.py --det_model_path weights/yolov5s.onnx \ --pose_model_path data/det/zidane.jpg \ -

文件下载

资源详情

[{"title":"( 51 个子文件 4.11MB ) pyonnx-example:使用python实现基于onnxruntime的一些模型推断-源码","children":[{"title":"pyonnx-example-master","children":[{"title":"main_detector_.py <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false},{"title":"combine.py <span style='color:#111;'> 7.86KB </span>","children":null,"spread":false},{"title":"collect_hands.py <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"tools","children":[{"title":"show_onnx_graph.py <span style='color:#111;'> 350B </span>","children":null,"spread":false},{"title":"pose_transforms.py <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"remove_initializer_from_input.py <span style='color:#111;'> 904B </span>","children":null,"spread":false},{"title":"visualize.py <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"get_points_from_cocowb.py <span style='color:#111;'> 14.98KB </span>","children":null,"spread":false},{"title":"test_ipcamera.py <span style='color:#111;'> 936B </span>","children":null,"spread":false}],"spread":true},{"title":"inference","children":[{"title":"keypoints_lpn.py <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"base.py <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"keypoints.py <span style='color:#111;'> 6.13KB </span>","children":null,"spread":false},{"title":"detector.py <span style='color:#111;'> 4.23KB </span>","children":null,"spread":false},{"title":"classifier.py <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 200B </span>","children":null,"spread":false},{"title":"keypoints_darkpose.py <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"detector_yolov5.py <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"main_gesture_.py <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"data","children":[{"title":"main_result","children":[{"title":"gesture","children":[{"title":"003.jpg <span style='color:#111;'> 23.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"keypoints","children":[{"title":"close.jpg <span style='color:#111;'> 14.47KB </span>","children":null,"spread":false},{"title":"open.jpg <span style='color:#111;'> 7.11KB </span>","children":null,"spread":false},{"title":"002.jpg <span style='color:#111;'> 37.64KB </span>","children":null,"spread":false},{"title":"004.jpg <span style='color:#111;'> 36.83KB </span>","children":null,"spread":false},{"title":"003.jpg <span style='color:#111;'> 25.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"pose2","children":[{"title":"17demo.gif <span style='color:#111;'> 1.66MB </span>","children":null,"spread":false}],"spread":true},{"title":"classifier","children":[{"title":"open","children":[{"title":"open.jpg <span style='color:#111;'> 6.66KB </span>","children":null,"spread":false}],"spread":false},{"title":"close","children":[{"title":"close.jpg <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"detection","children":[{"title":"crop_res","children":[{"title":"tie","children":[{"title":"002.jpg <span style='color:#111;'> 9.33KB </span>","children":null,"spread":false},{"title":"003.jpg <span style='color:#111;'> 3.55KB </span>","children":null,"spread":false}],"spread":false},{"title":"person","children":[{"title":"001.jpg <span style='color:#111;'> 116.73KB </span>","children":null,"spread":false},{"title":"000.jpg <span style='color:#111;'> 78.88KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"zidane.jpg <span style='color:#111;'> 236.62KB </span>","children":null,"spread":false},{"title":"004.jpg <span style='color:#111;'> 36.60KB </span>","children":null,"spread":false}],"spread":false},{"title":"pose","children":[{"title":"133demo.gif <span style='color:#111;'> 1.45MB </span>","children":null,"spread":false},{"title":"002.jpg <span style='color:#111;'> 49.05KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"person","children":[{"title":"001.jpg <span style='color:#111;'> 116.73KB </span>","children":null,"spread":false},{"title":"000.jpg <span style='color:#111;'> 78.88KB </span>","children":null,"spread":false},{"title":"002.jpg <span style='color:#111;'> 19.48KB </span>","children":null,"spread":false},{"title":"004.jpg <span style='color:#111;'> 17.63KB </span>","children":null,"spread":false},{"title":"003.jpg <span style='color:#111;'> 12.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"det","children":[{"title":"zidane.jpg <span style='color:#111;'> 164.99KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"main_pose_.py <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"main_keypoints_.py <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"combine","children":[{"title":"gesture_recognition.py <span style='color:#111;'> 3.68KB </span>","children":null,"spread":false},{"title":"human_pose.py <span style='color:#111;'> 9.49KB </span>","children":null,"spread":false},{"title":"base.py <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 86B </span>","children":null,"spread":false}],"spread":true},{"title":"tracker","children":[{"title":"kcf.py <span style='color:#111;'> 6.31KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false}],"spread":true},{"title":"main_classifier_.py <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明