腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
2
回答
Google
colab
使用Os.listdir直接访问机器
的
本地
驱动器
python
、
google-colaboratory
、
listdir
我是
google
colab
的
新手,我想知道
google
colab
是否能够直接访问我电脑cdrive上
的
文件。import os print(file) 出现
的
错误消息是Errno 2没有这样
的
文件或目录:‘Python tools\C:\Users\zhuan.lim\Desktop\s
浏览 5
提问于2019-12-07
得票数 1
回答已采纳
1
回答
如何使用
Google
Colab
本地
运行时
并连接到
Google
Drive
python
、
google-drive-api
、
jupyter-notebook
、
google-colaboratory
我正在使用
本地
运行时
运行
Google
Colab
。我使用以下命令启动Jupyter: jupyter notebook --NotebookApp.allow_origin='https://
colab
.research.
google
.com' --port=8888 --NotebookApp.port_retries=0 当我之前连接时,我能够
在
笔记本中使用以下代码
挂载
Google
<e
浏览 41
提问于2020-02-01
得票数 2
回答已采纳
1
回答
FileNotFoundError:[Errno 2]没有这样
的
文件或目录(python错误)
python
我是python
的
新手,我正在尝试使用
Google
Colab
来学习它我正在尝试打开一个CSV文件,但我就是做不到。'C:\\Users\\User\\Desktop\\username.csv' 我已经搜索过类似的问题,大多数都建议问题出在(r'C:\completelocalfile),但我已经尝试过了,就像你
在
我
的
代码中看到
的
那样
浏览 20
提问于2021-03-31
得票数 1
1
回答
使用
google
colab
访问
本地
存储
的
数据库
google-colaboratory
我
在
本地
笔记本电脑上存储了一个数据集,不幸
的
是,我
无法
将其上传到驱动器,即使是zip格式,我如何使用
google
colab
在此数据集(存储
在
本地
)上训练我
的
模型
浏览 132
提问于2018-09-17
得票数 0
回答已采纳
1
回答
有一种方法可以直接从我
的
桌面读取卷积神经网络
的
图像吗?
tensorflow
、
machine-learning
、
keras
、
neural-network
、
google-colaboratory
我在用谷歌公司
的
网络训练一个卷积神经网络。我
的
数据(图像)存储
在
Google
中
,我能够正确地使用它。然而,有时读取图像
的
过程太慢,不能工作(其他时候,过程更快,我没有问题读取图像)。为了读取
Google
中
的
图像,我使用:
drive
.mount('/content/<em
浏览 4
提问于2021-07-14
得票数 0
2
回答
无法
在
本地
运行时
挂载
Colab
中
的
Google
Drive
python
、
jupyter-notebook
、
google-colaboratory
我正尝试
在
本地
运行时
使用
Google
Colab
,但似乎
无法
加载我
的
Google
Drive
。我试过from
google
.
colab
import
drive
drive
.mount('/content/
drive
') 但我总是得到 ModuleNotFoundErrorTraceback (most r
浏览 83
提问于2020-08-12
得票数 0
3
回答
在
google
Colab
上
挂载
google
drive
google-colaboratory
我按照
google
colab
上
的
这个Medium教程
中
给出
的
步骤操作,然后尝试克隆一个git存储库,但在我
的
驱动器
中
找不到该存储库。下图是我使用
的
代码片段,它与Medium教程
中
的
代码片段完全相同:
浏览 4
提问于2018-05-04
得票数 2
2
回答
在
Google
Colaboratory中保存文件/图片
tensorflow
、
keras
、
jupyter-notebook
、
google-colaboratory
目前,我正在处理400+图像,并使用uploaded = files.upload()提前感谢:)
浏览 0
提问于2018-10-09
得票数 1
1
回答
通过gspread从
本地
安装
的
驱动器
中
获取
Google
工作表数据
python
、
google-drive-api
、
google-colaboratory
、
gspread
、
google-drive-shared-drive
我正在开发一个
Google
笔记本,它要求用户使用
colab
.
drive
python库
挂载
google
驱动器。然后,它们将
本地
目录树上
的
相对路径(
在
该
挂载
上默认为/content/
drive
/...)输入到感兴趣
的
文件中进行分析。现在,我想使用他们可以创建
的
Google
表作为配置文件。关于如何对gspread进行身份验证并从其HTTP
浏览 5
提问于2021-06-08
得票数 2
10
回答
如何在
Google
中
卸载驱动器并重装到另一个驱动器?
google-colaboratory
、
drive
、
unmount
我安装到
Google
,现在我想切换到帐户B,但我不能这样做,因为
在
执行
drive
.mount()时,我没有办法输入一个新
的
身份验证密钥。我尝试过
的
和失败
的
: 将
运行时
类型从GPU更改为None并返回到GP
浏览 21
提问于2019-02-23
得票数 33
7
回答
Google
colab
和
google
drive
:将文件从
colab
复制到
Google
Drive
google-drive-api
、
google-colaboratory
似乎有很多方法可以从
Colab
访问
Google
Drive
上
的
文件,但没有简单
的
方法可以将文件从
Google
Colab
保存回
Google
Drive
。例如,要从
Colab
访问
Google
Drive
文件,您可以使用以下命令
挂载
Google
Drive
from
google
.
colab
im
浏览 21
提问于2020-01-13
得票数 12
2
回答
Google
如何运行我
的
CoLab
环境
的
‘文件’选项卡(即/
CoLab
/)
中
的
jupyter笔记本文件
python
、
jupyter-notebook
、
jupyter
、
google-colaboratory
在
谷歌
CoLab
的
左侧是一个可以打开
的
窗格,其中显示了Table of Contents、Code snippets和Files。菜单选项File->OpenNotebook不会将
CoLab
/content/文件显示为启动笔记本
的
选项。有没有办法做到这一点?或者可以
在
将来
的
版本
中
添加?这个请求
的
原因是我想将一个包含多个笔记本文件
的
存储库git-clone到
CoLa
浏览 2
提问于2019-04-23
得票数 6
1
回答
如何在
Colab
中使用
挂载
的
Google
Drive
加快解压缩/读取文件
的
速度?
google-drive-api
、
google-colaboratory
我正在使用
Colab
和一个
挂载
的
Google
Drive
来解压压缩包,并合并来自它们
的
csvs。zip_list: zipfile.ZipFile(z, 'r').close()与我
在
本地
计算机上
运行时
相比,
在
Colab
/<e
浏览 19
提问于2020-02-13
得票数 0
回答已采纳
5
回答
ValueError:安装点不能包含空格。(实验室)
python
、
google-colaboratory
、
mount
以下是我
在
google
中
的
代码:
drive
.mount('content/
drive
/My
Drive
/ML')
在
挂载
(
挂载
点,force_remount,timeout_ms) 89
浏览 8
提问于2019-09-18
得票数 19
回答已采纳
2
回答
如何从
Google
访问我
的
Google
文件?
python-3.x
、
google-drive-api
、
google-colaboratory
我
在
Google
中使用urlretrieve (urllib)从url下载图片。但是,在下载图像之后,我
无法
定位这些图像。
浏览 2
提问于2019-08-08
得票数 6
回答已采纳
2
回答
使用
Google
Colab
运行时
查找python_notebook.ipynb
的
路径
python
、
path
、
jupyter-notebook
、
google-colaboratory
、
getcwd
我想要找到存储我
的
代码文件
的
cwd。import os print (cwd)'C:...\\Jupiter_lab_notebooks\\CODE'import os print (cwd)/content
浏览 6
提问于2021-02-13
得票数 7
3
回答
如何在
google
colab
中加载30 in
的
数据集
google-colaboratory
我有一个30 of
的
数据集,我需要上传到谷歌
colab
。上传
的
过程是什么?
浏览 1
提问于2019-11-19
得票数 0
1
回答
使用
Colab
访问
本地
文件夹
python
、
jupyter-notebook
、
google-colaboratory
我想在
Colab
上做一个深度学习系统。我
的
数据存储
在
笔记本电脑
的
本地
文件夹
中
,但我不知道如何访问它。os.path.isdir(os.path.join(main_folder,dI))]main_folder是
本地
路径
浏览 1
提问于2018-09-27
得票数 5
3
回答
如何自动将我
的
谷歌驱动器
挂载
到
Google
google
、
colab
我最近发现了谷歌
Colab
,我想知道是否有一个选择,永久授权谷歌
Colab
访问和
挂载
我
的
谷歌驱动器。from
google
.
colab
import
drive
Go to this URL in a browser: https://accounts.
google
.comclient_id=xxx
浏览 0
提问于2019-12-09
得票数 11
回答已采纳
1
回答
如何从
colab
访问多个
google
驱动器?
python
、
google-drive-api
、
google-colaboratory
我有2个文件分布
在
2个
google
驱动器上,我想从
google
colab
访问这2个文件 我使用此代码来访问
google
驱动器 #Mount
Google
Drive
as folder
drive
.mount('/content/
drive
', force_remount=True
浏览 13
提问于2019-09-06
得票数 0
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
即时通信 IM
实时音视频
活动推荐
运营活动
广告
关闭
领券