报错:

RuntimeError: Found 0 files in subfolders of: ./data/image Supported extensions are: .jpg,.jpeg,.png

没错,这个就是路径的问题! 

 改成下面这样之后就好了:RuntimeError: Found 0 files in subfolders of: ./data/image Supported extensions are: .jpg,.jpeg,.png

我这边默认的image的名字,所以只能用image来命名

需要注意的是:我这个写的是路径下面我当前路径下两级目录,但实际我的路径下文件放在了三层路径,似乎好像是因为这个代码写的是里面还有一个image的默认子路径。 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
  • 2021-09-19
猜你喜欢
  • 2021-08-31
  • 2021-08-05
  • 2021-12-16
  • 2022-12-23
  • 2022-03-06
  • 2022-12-23
  • 2021-08-12
相关资源
相似解决方案