标签: image google-colaboratory
我正在研究 TensorFlow,将图像转换为 Numpy 数组
当我运行代码时,返回错误“FileNotFoundError:没有这样的文件或目录”,如下图所示
No Such File or directory
因为文件已经存在。
所以,我检查路径
os.path.exists("/content/drive/MyDrive/Dog Vision/train (1)")
它返回 True
True