我可以在Google Colaboratory上安装caffe或caffe2吗? [英] May i install caffe or caffe2 on Google Colaboratory?

查看:205
本文介绍了我可以在Google Colaboratory上安装caffe或caffe2吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试过!pip install caffe!pip install caffe2,但这没用.

I have try !pip install caffe and !pip install caffe2, but it is not useful.

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

If ok, how to install caffe or caffe2? What about other framework? Thank you.

推荐答案

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

To install Caffe with GPU support try running:

!apt install -y caffe-cuda

,对于仅CPU版本:

!apt install -y caffe-cpu

这篇关于我可以在Google Colaboratory上安装caffe或caffe2吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆