keras - 当我尝试在 keras 中导入 image_to_array 时执行数据扩充时出错
问题描述
ImportError: cannot import name 'image_to_array' from 'keras.preprocessing.image' (C:\Users\shkatta\New folder\lib\site-packages\keras\preprocessing\image.py) 我无法导入上述错误当我在 keras 中导入 image_to 数组时,请帮忙
解决方案
推荐阅读
- javascript - 查找独特的项目集合
- android - 尝试在 Android 中的空对象引用上调用虚拟方法“java.lang.Object android.content.Context.getSystemService(java.lang.String)”
- laravel - 如何在 laravel Blade 中返回 GitHub api
- python - 有没有办法从前一个结果中减去一个结果?
- javascript - 如何将代码更改为我自己的国家时区?
- xcode - Core Data Migration 自定义迁移
- excel - Excel VLOOKUP 结果不一致
- php - 有1M记录时为select语句优化MySQL数据库:单独存储旧数据?
- php - 如何从另一个表中获取与另一个表中相同的 1 个字段匹配的 2 个字段的数据
- macos - os X 上的 Docker .net core 3.0 preview 3 (web api + angular)