有没有一种方法可以在iPhone上直接运行pytorch而不使用Swift或CoreML?

问题描述 投票:0回答:1

如标题。

我尝试过使用iOS中的应用程序(如

iSH
a-Shell
)构建一个类似linux的环境来运行pytorch(直接训练一个小型网络,而不使用Swift等)。但是,它们无法安装。 iPhone 有没有办法使用应用程序(如 Android 中的
termux
)直接在 pytorch 中训练(而不仅仅是推理)深度网络?

ios iphone pytorch
1个回答
0
投票

本教程利用 MobileNet v3 模型来处理实时相机图像,并利用三个不同的后端:XNNPACK、Core ML 和 Metal Performance Shaders (MPS)。

该指南应该帮助您在没有 CoreML 或 Swift 的情况下运行 executorch

https://pytorch.org/executorch/stable/demo-apps-ios.html

© www.soinside.com 2019 - 2024. All rights reserved.