是否有人成功地在Coremltools网站上成功运行了快速启动示例?

发布于 2025-01-29 16:40:36 字数 678 浏览 4 评论 0原文

我遵循了完全位于的说明;

https://coremltools.readme.io/docs/introductory-quickstart

但是,当我执行第一个Unix命令时;

pip install tensorflow==2.2.0 h5py==2.10.0 coremltools pillow

我收到以下错误消息;

ERROR: Could not find a version that satisfies the requirement tensorflow==2.2.0 (from versions: 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0)
ERROR: No matching distribution found for tensorflow==2.2.0

所以我尝试了;

pip install tensorflow==2.9.0 h5py==2.10.0 coremltools pillow

现在,我得到了大量的屏幕,充满了红色的错误,这些错误太长了,无法在此处包含。

如果有人可以尝试正确运行快速示例,我将不胜感激。

谢谢。

I have followed the instructions exactly located at;

https://coremltools.readme.io/docs/introductory-quickstart

But when I execute the first Unix command;

pip install tensorflow==2.2.0 h5py==2.10.0 coremltools pillow

I get the following error message;

ERROR: Could not find a version that satisfies the requirement tensorflow==2.2.0 (from versions: 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0)
ERROR: No matching distribution found for tensorflow==2.2.0

So then I tried;

pip install tensorflow==2.9.0 h5py==2.10.0 coremltools pillow

Now I get a massive screen-full of errors in red which are too long to include here.

I would appreciate it if someone could try and get the Quickstart Example running correctly.

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

云淡风轻 2025-02-05 16:40:36

我使用conda安装了Python 3.7.0,并再次键入了快速启动示例。现在,它正在完美运行,并将张量流模型转换为供iOS应用程序使用的核心ML模型。

I installed Python 3.7.0 using Conda and typed the Quickstart Example again. It is now running perfectly and converting the Tensor Flow model to the Core ML model for an iOS app to use.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文