【问题标题】:how do i read/import images ,which is stored in my laptop, in google colab?我如何在谷歌 colab 中读取/导入存储在笔记本电脑中的图像?
【发布时间】:2018-09-26 12:26:20
【问题描述】:

每当我将它们指定为“C:\Users\Admin\Desktop\tumor”之类的路径时,我都会使用 cv2.imread() 得到“找不到文件”错误。谁能解释阅读它们的正确方法?

【问题讨论】:

    标签: python-3.x neural-network conv-neural-network google-colaboratory


    【解决方案1】:

    您需要将文件传输到后端虚拟机。食谱在 I/O 示例笔记本中: https://colab.research.google.com/notebooks/io.ipynb

    或者,您可以使用此处所述的本地运行时: http://research.google.com/colaboratory/local-runtimes.html

    【讨论】:

      猜你喜欢
      • 2017-10-29
      • 1970-01-01
      • 2018-07-31
      • 2021-12-12
      • 2022-07-27
      • 1970-01-01
      • 2011-08-09
      • 2015-01-21
      • 1970-01-01
      相关资源
      最近更新 更多