from-pytorch-to-coreml:一个简单的指南,介绍了从训练简单的PyTorch图像分类器到将生成的神经网络转换为可投入生产的CoreML模型的步骤

上传者: 42099936 | 上传时间: 2022-05-14 19:07:56 | 文件大小: 2.2MB | 文件类型: ZIP
动机 我在这里提供了一个简单的指南,该指南解释了从训练简单的PyTorch图像分类器到将训练后的神经网络转换为可投入生产的CoreML模型所需的步骤。 我花了几天时间浏览Internet博客,论坛和官方文档,以收集这些页面中提供的少量知识。 此仓库的真正动机是防止我忘记有关该特定主题的所有知识。 并且,如果本指南可以帮助其他人继续进行她/他的研究,那将是一个加分。 请阅读免责声明。 导游 我面临的问题非常简单。 我想知道如何在PyTorch中训练人工神经网络,以及如何将该网络转换为可在iOS应用程序中使用的CoreML模型。 简单吧? 最初,此页面中提供的指南是针对coremltools 3设计的。Apple最近发布了coremltools 4,它改变了游戏规则。 现在可以在不使用ONNX的情况下完成转换。 我本可以简单地更新coremltools 4的指南。但是,由于coremltoo

文件下载

资源详情

[{"title":"( 42 个子文件 2.2MB ) from-pytorch-to-coreml:一个简单的指南,介绍了从训练简单的PyTorch图像分类器到将生成的神经网络转换为可投入生产的CoreML模型的步骤","children":[{"title":"from-pytorch-to-coreml-master","children":[{"title":"my_network.onnx <span style='color:#111;'> 379.93KB </span>","children":null,"spread":false},{"title":"step4_part2.py <span style='color:#111;'> 160B </span>","children":null,"spread":false},{"title":"my_network_image_ct4.mlmodel <span style='color:#111;'> 379.97KB </span>","children":null,"spread":false},{"title":"step6_part2.py <span style='color:#111;'> 155B </span>","children":null,"spread":false},{"title":"step1.md <span style='color:#111;'> 10.80KB </span>","children":null,"spread":false},{"title":"step5_part1.py <span style='color:#111;'> 308B </span>","children":null,"spread":false},{"title":"step6_part2.md <span style='color:#111;'> 835B </span>","children":null,"spread":false},{"title":"step6.md <span style='color:#111;'> 571B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"step5_part2.py <span style='color:#111;'> 166B </span>","children":null,"spread":false},{"title":"my_network.pth <span style='color:#111;'> 382.66KB </span>","children":null,"spread":false},{"title":"step4.md <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"step6_part1.md <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"step2.py <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"step4_part3.py <span style='color:#111;'> 834B </span>","children":null,"spread":false},{"title":"step6_part3.md <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"step5_part1.md <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"step3.png <span style='color:#111;'> 115.62KB </span>","children":null,"spread":false},{"title":"step5_part3.md <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"step5_part2.md <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"my_network_image.mlmodel <span style='color:#111;'> 379.13KB </span>","children":null,"spread":false},{"title":"step3.md <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"step6_part1.png <span style='color:#111;'> 129.79KB </span>","children":null,"spread":false},{"title":"step5.md <span style='color:#111;'> 728B </span>","children":null,"spread":false},{"title":"model.py <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"step4_part1.py <span style='color:#111;'> 172B </span>","children":null,"spread":false},{"title":"step4_part4.md <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"step4_part2.md <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"step5_part3.py <span style='color:#111;'> 578B </span>","children":null,"spread":false},{"title":"step4_part1.md <span style='color:#111;'> 876B </span>","children":null,"spread":false},{"title":"step4_part1.png <span style='color:#111;'> 128.54KB </span>","children":null,"spread":false},{"title":"step6_part3.py <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"step2.md <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"step1.py <span style='color:#111;'> 3.68KB </span>","children":null,"spread":false},{"title":"step4_part3.md <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"step6_part1.py <span style='color:#111;'> 806B </span>","children":null,"spread":false},{"title":"step3.py <span style='color:#111;'> 545B </span>","children":null,"spread":false},{"title":"my_network.mlmodel <span style='color:#111;'> 379.35KB </span>","children":null,"spread":false},{"title":"dog.png <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"step5_part1.png <span style='color:#111;'> 114.26KB </span>","children":null,"spread":false},{"title":"step4_part4.py <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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