gpt4 book ai didi

google-drive-api - 将 Google Drive 的 "Computers"挂载到 Colaboratory

转载 作者:行者123 更新时间:2023-12-05 00:46:53 25 4
gpt4 key购买 nike

我从官方notebook研究了一些加载数据到Colaboratory的方法.

但它仅通过命令将 colab 与 Google Drive 的“My Drive”文件夹连接起来

drive.mount('/content/gdrive')



Picture for colab directory tree

但是,我想在 Colab 中访问 Google Drive 的“计算机”文件夹。有什么方法可以做到吗?

Picture for Google Drive web directory tree

谢谢!

最佳答案

在计算机中,只需右键单击该文件,然后单击将快捷方式添加到驱动器到您要在 Colab 中打开的文件。这将创建该文件到云端硬盘的快捷方式。现在,当您在那里修改文件(gdrive)时,它也会在计算机上自动更新。见下图。
Drive instructions

关于google-drive-api - 将 Google Drive 的 "Computers"挂载到 Colaboratory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53199781/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com