腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
Google
Colab
中
Python
的
多重
处理问题
python
、
multiprocessing
、
google-colaboratory
我需要用我
的
Python
脚本做一些多处理,我决定尝试一下谷歌
的
协作室。多进程与
Google
Colab
本地运行时一起工作吗? 提前谢谢。
浏览 8
提问于2019-09-24
得票数 3
1
回答
只需使用
Colab
Pro
的
GPU
python
、
machine-learning
、
gpu
、
google-colaboratory
该项目是为了扩展机器学习程序(位于github上)
的
一些功能。我不能在我
的
笔记本电脑上训练模型,因为我只有16 of
的
内存(CPU)。这个项目被分配到几个
python
文件和目录
中
。是否可以在不重写
Colab
单元
中
的
python
代码
的
情况下使用
Colab
Pro运行此程序?我只需要图形处理器。
浏览 1
提问于2021-05-18
得票数 0
3
回答
如何在本地机器上安装和使用?
python
、
pip
、
google-colaboratory
、
productivity-power-tools
谷歌
Colab
是很棒
的
工作,但我希望我可以运行
Colab
笔记本完全本地和离线,就像朱庇特笔记本服务从当地? 我该怎么做?有我可以安装
的
Colab
包吗?编辑:以前对这个问题
的
一些回答似乎给出了访问由谷歌主持
的
Colab
的
方法。但这不是我要找
的
。我
的
问题是如何pip install
colab
,这样我就可以像pip install jupyter之后
的
jupyter一
浏览 2
提问于2018-05-05
得票数 26
回答已采纳
1
回答
在
Google
Colab
上
的
R笔记本
中
安装
python
库
python
、
r
、
google-colaboratory
我正在尝试在
Google
Colab
上
的
R笔记本
中
安装一个
python
库,为此我使用了'reticulate‘包: library(reticulate) py_install("pandas") 但我得到
的
结果是这个错误: Error: could not find a
Python
environment for /usr/bin/
python
3 有没有解决这个错误
的
办法
浏览 18
提问于2020-08-08
得票数 2
回答已采纳
4
回答
测试笔记本是否在
Google
上运行
google-colaboratory
如何测试我
的
笔记本是否运行在谷歌
Colab
上? 我需要这个测试,因为获取/解压缩我
的
培训数据是不同
的
,如果运行在我
的
笔记本电脑或科拉布。
浏览 11
提问于2018-12-02
得票数 42
回答已采纳
2
回答
如何使用
google
colab
上
的
显示功能?
google-colaboratory
、
xvfb
我正在尝试在我
的
c++代码中使用一些显示函数。这些函数将打开一个窗口,并在其中显示一些图像作为输出。我如何在
google
colab
中
复制它?
浏览 38
提问于2020-04-22
得票数 0
7
回答
如何从
Google
笔记本上运行“.py”文件
中
的
Python
脚本?
python
、
python-3.x
、
jupyter-notebook
、
google-colaboratory
_should_scroll = function(lines) {} 我运行这个给出
的
错误,说rl_base.py文件找不到。我已经将相同
的
内容上传到
colab
中
的
gdrive
中
,并从运行我
的
.ipynb文件
的
同一个文件夹
中
,其中包含了上述代码
浏览 7
提问于2018-07-05
得票数 51
回答已采纳
1
回答
有没有一种方法可以检测代码是在协作式
中
运行
的
,而不是在“经典jupyter”
中
运行
的
?
scala
、
jupyter-notebook
、
jupyter
、
google-colaboratory
有没有人知道是否有一种方法可以通过编程来确定我们是在协作室
中
运行,而不是在“经典jupyter”
中
运行?其中一条评论建议,如果我们
的
代码可以检测到它正在Colaboratory
中
运行,那么可以应用一种通用
的
解决方案。 谢谢你
的
指点!
浏览 15
提问于2019-05-05
得票数 0
2
回答
如何使用其他
Colab
文件
中
的
函数?
python
、
colab
、
functions
使用
colab
时,我试图组织我
的
示例模拟函数,这样我甚至可以在不同
的
文件/笔记本
中
访问它们--而且无法找到任何关于它在
colab
中
如何工作
的
教程或解释。我发现
的
唯一一件事是建议使用似乎不再存在
的
选项--在其中查找文件似乎不像以前那样有效。谢谢你,保罗
浏览 0
提问于2023-02-13
得票数 0
2
回答
google
colab
中
的
Python
3.5
python-3.x
、
google-colaboratory
我正在
google
colab
中
运行一段用于深度学习
的
python
代码。该代码需要
Python
3.5。如何在
google
colab
中
安装
Python
3.5版本?
浏览 36
提问于2019-03-05
得票数 5
1
回答
通过
google
安装
python
3.7作为默认
python
python
、
google-cloud-platform
我需要使用
python
3.7作为默认
的
python
版本在
google
中使用(通过 )来测试 GitHub项目,通过以下代码:!
python
setup.py/content/faceitremote: Enumeratingpac
浏览 6
提问于2020-09-13
得票数 7
回答已采纳
2
回答
如何用
python
脚本从GoogleColab下载文件?
python-3.x
、
google-colaboratory
我有一个创建.csv文件
的
python
脚本。/dist-packages/
google
/
colab
/files.py", line 178, in downloadFile"/usr/local/lib/
python
3.6/dist-packages/
google
/
浏览 17
提问于2019-01-17
得票数 1
1
回答
生成器未知命令/目标android_old
android
、
python
、
kivy
、
buildozer
我还是个新手,还在用
python
和kivy。 无论如何,我正在做一个简单
的
android应用程序,它只显示一个标签。现在我正在尝试通过buildozer将
python
文件打包到apk
中
。
浏览 1
提问于2017-11-08
得票数 8
1
回答
从
Google
Colab
调用MATLAB
matlab
、
google-colaboratory
可以从
Google
Colab
(Jupiter on cloud)使用MATLAB命令吗?例如,我想调用
Google
Colab
中
的
风险管理工具箱函数,如bin(vbt,Name,Value),tbfi(vbt,Name,Value)或tuff(vbt,Name,Value)。
浏览 149
提问于2021-08-29
得票数 0
回答已采纳
4
回答
从
Google
drive -
python
导入
google
Colab
中
的
模块
python
、
google-drive-api
、
google-colaboratory
我在从
google
驱动器导入ipynb文件时遇到问题。我尝试过 提供
的
解决方案from
google
.
colab
import files# SYS# IPYNBimport import_ipynbimport importlib.util 我尝试过这样
的
东西:
浏览 4
提问于2020-05-31
得票数 9
1
回答
如何强制
google
在特定
的
python
版本
中
运行
python
、
python-3.x
、
google-colaboratory
我有一个在
python
3.5
中
工作
的
代码,但是会在
python
>3.5
中
抛出错误,但是!
python
--version在
google
中
返回
python
3.6.9,我有没有办法强迫
google
使用3.5。我在Stackoverflow中找到了一些解决方案,它要求我使用本地运行时,这对我没有用处,因为我在本地机器上没有足够
的
计算资源。
浏览 4
提问于2020-01-17
得票数 0
2
回答
有没有办法在
colab
中使用
python
的
way浏览器模块打开一个新
的
选项卡?
python-3.x
、
google-colaboratory
、
python-webbrowser
import webbrowser webbrowser.open_new_tab('www.
google
.com') 我使用了
Google
-colaboratory,并得到了False作为输出。取而代之
的
是,它应该打开一个带有谷歌url
的
新标签。它在
Python
3.7和PyCharm中都工作得很好。 我知道用
colab
编写
的
程序在谷歌云上运行,在谷歌云中没有浏览器可比。除了使用selenium工具之外,在
google
-
co
浏览 44
提问于2020-04-21
得票数 2
回答已采纳
3
回答
在kaggle笔记本
中
安装
google
drive
python
、
jupyter-notebook
、
google-drive-api
、
google-colaboratory
、
kaggle
在
google
colab
中
,我可以轻松地使用以下命令挂载我
的
google
驱动器:drive.mount('/content/gdrive')KeyError Traceback (most recent
浏览 4
提问于2020-01-13
得票数 11
2
回答
在
google
colab
中
传递命令行参数
google-colaboratory
如何在
google
colab
中
运行
python
代码时传递命令行参数?我已经写了一个代码,它通过sys.argv[]接受一个文件作为输入。我该怎么做呢?
浏览 30
提问于2020-03-09
得票数 1
1
回答
在
Google
Colab
上使用最新版本
的
Python
python
、
google-colaboratory
Google
Colab
安装了
Python
3.6,但它不是当前版本
的
Python
。 如何在
Google
Colab
上将
Python
升级到最新版本?
浏览 1
提问于2018-12-17
得票数 11
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Python中循环调用函数中的异常处理问题及解决方法
你不知道的Python大杀器,装饰器中的多重使用方法!
Colab详细使用教程
在大规模数据集上应用潜在语义分析的三种方式
帮初学者快速上手机器学习,这有一份Colab资源大全
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券