Step1
啓動notebook,執行以下代碼
from google.colab import drive
drive.mount('/content/gdrive')
在文本框中輸入連接中的驗證碼
Step2
在左側文件中查看目錄結構,gdrive所在的目錄是/content/gdrive
Step3
使用如下代碼進入項目目錄
!ls
import os
os.chdir('/content/gdrive/My Drive/Project/DKVMN')
!ls
如我的目錄爲
大功告成