我想通过循环更新显示的图像,我在googlecolab工作,因此我的代码是基于googlecolab的 from google.colab import driveimport globfrom pylab import *
for filename in glob.iglob('/content/drive/My Drive
This example展示了如何在colab上访问GDrive: from google.colab import drive
drive.mount('/gdrive') 这只适用于托管的运行时:对于本地运行时,它显示: ModuleNotFoundError: No module named 'google.colab' 如何让这也适用于本地运行时?
需要调用data folder,但如何在colab中调用。我在spyder上试过了,但在colab上做不到,因为colab已经安装了google drive。import BaseTransform, VOC_CLASSES as labelmap import imageio Image of google