【发布时间】:2020-12-10 02:05:13
【问题描述】:
我有一个文件夹,里面有很多文件夹 - 将它上传到 google colab 的最佳方式是什么? 我试图按照这个链接: How to upload folders to Google Colab? 但它没有找到我的文件夹:
!unzip -uq "/content/drive/My Drive/Data/Output/" -d "/content/drive/My Drive/Data/Output/"
并得到错误:
unzip: cannot find or open /content/drive/Data/Output/, /content/drive/Data/Output/.zip or /content/drive/Data/Output/.ZIP.
Data 是驱动器中的一个文件夹(在主目录中。它有一个名为“output”的文件夹,其中包含 20 个文件夹:001、002、... 020)。我要上传所有output 目录。
【问题讨论】:
-
链接问题中接受的答案应该是推荐的方式。它是否在您的驱动器中找到其他文件夹或文件?如果没有,您可能在安装它时遇到问题。是共享文件夹吗?我相信 Google Colab 只会挂载您驱动器上的文件夹。如果是共享文件夹,您可以将其添加到您的驱动器中查看。
-
@HernánAlarcón 这是我的驱动器 - 请查看编辑
标签: python google-colaboratory drive