【发布时间】:2018-05-08 19:09:49
【问题描述】:
我正在尝试使用 Keras 训练 CNN,并且在运行 model.fit_generator 代码行时,我收到以下错误:
OSError: cannot identify image file
'D:\\PDF\\Train\\notfactors\\notfactors59.jpg
奇怪的是,文件夹中不存在.jpg。以下是我所有的代码。
我使用的是来自以下 github 地址的完全相同的代码(不同的数据):
https://github.com/deeplizard/Keras_Jupyter_Notebooks/blob/master/CNN.ipynb
这里讨论过这个问题: OSError: cannot identify image file 'dataSet/.DS_Store'
但是对于这个问题,图像实际上是存在的。我迷路了。有人有想法吗?
【问题讨论】:
标签: python neural-network keras conv-neural-network