1.将colab运行目录切换到Google Drive上
from google.colab import drive
drive.mount('/gdrive')
%cd /gdrive/My\ Drive/Disable\ Object\ Detection\ Systerm
2.运行目录中代码
%run datasetbuild.ipynb
3.从github拷贝代码到当前目录下
!git clone https://github.com/JameyWoo/myDataSet.git
4.网页文件下载
!wget https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png
5.解压文件
! unzip train2014.zip
本文详细介绍了如何在Google Colab中挂载并使用Google Drive,包括更改运行目录、执行Notebook文件、从GitHub复制代码、下载网页文件、解压缩文件等关键步骤。
560

被折叠的 条评论
为什么被折叠?



