【问题标题】:May i install caffe or caffe2 on Google Colaboratory?我可以在 Google Colaboratory 上安装 caffe 或 caffe2 吗?
【发布时间】:2018-07-08 01:57:00
【问题描述】:

我试过!pip install caffe!pip install caffe2,但是没用。

如果可以,如何安装caffe或caffe2?其他框架呢? 谢谢你。

【问题讨论】:

  • 嗨,欢迎来到 SO。如果您描述出了什么问题,您更有可能获得帮助。您收到错误消息吗?如果是这样,请在您的问题正文中发布错误消息。
  • 这里是错误:Collecting caffe Could not find a version that satisfies the requirements caffe (from versions: ) No matching distribution found for caffe

标签: google-colaboratory


【解决方案1】:

要安装支持 GPU 的 Caffe,请尝试运行:

!apt install -y caffe-cuda

对于纯 CPU 版本:

!apt install -y caffe-cpu

【讨论】:

  • @appleyuchi 你能描述一下到底发生了什么吗?我目前在 Google Colab 上导入 caffe.io 没有问题
猜你喜欢
  • 1970-01-01
  • 2018-01-14
  • 2018-06-06
  • 1970-01-01
  • 2020-06-16
  • 2018-04-29
  • 2018-06-25
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多