如何在 Google Colab 中安装 GCP Bucket

jjs*_*huh 3 google-cloud-platform gcsfuse google-colaboratory

我想从 Colab 访问我的 GCP 存储桶中的文件。我按照这些说明进行操作

从屏幕截图中可以看到,安装后文件夹中没有任何内容。我缺少什么?我的存储桶中的 Data 文件夹充满了数据。

在此输入图像描述

在此输入图像描述

在此输入图像描述

jjs*_*huh 5

事实证明,您无法安装存储桶名称+存储桶内的路径。删除/Data/存储桶名称后的 即可成功挂载。因此,由于我的存储桶名称是hellonearth,命令就是:

!gcsfuse --implicit-dirs hellonearth myfolder
Run Code Online (Sandbox Code Playgroud)