小编Chr*_*nti的帖子

Google Colab 从 Google Drive 读取数据(图像)的速度非常慢

我使用以下代码将我的 Google Drive 连接到 Google Colab:

# Load the Drive helper and mount
from google.colab import drive

# This will prompt for authorization.
drive.mount('/content/drive')
Run Code Online (Sandbox Code Playgroud)

现在,当我想读取驱动器中包含图像的一系列文件夹时,与我的电脑相比,它的运行速度非常慢!

而且我注意到,如果我第二次运行代码,上次运行中已经读取的文件夹的加载速度会更快。

您对这个问题有什么建议吗?谢谢。

image dataset google-colaboratory

8
推荐指数
1
解决办法
3200
查看次数

标签 统计

dataset ×1

google-colaboratory ×1

image ×1