如何解决在keras中保存模型为h5文件时出现的无此目录错误提示?
- 内容介绍
- 文章标签
- 相关推荐
本文共计294个文字,预计阅读时间需要2分钟。
问题:Keras模型保存一次到.h5中,无法保存,提示如下:方法尝试如下:
1.安装、重新安装h5py
2.cd /home/bigdata/camera/flow/jckjTmp/models/,进入目录,提示无此目录
修改后内容:
问题:Keras模型保存到.h5文件失败,提示无法保存解决方案尝试:1.重新安装h5py库
2.检查路径:cd /home/bigdata/camera/flow/jckjTmp/models/,确认目录存在
问题
Keras模型迭代一次保存模型到.h5中,无法保存,提示如下:方法尝试如下
1. 卸载、重新安装h5py
2. cd file:///home/bigdata/camera/flow/jckjTmp/models/命令,进入目录,提示无此目录
改用"/home/bigdata/camera/flow/jckjTmp/models/"路径,问题解决。
本文共计294个文字,预计阅读时间需要2分钟。
问题:Keras模型保存一次到.h5中,无法保存,提示如下:方法尝试如下:
1.安装、重新安装h5py
2.cd /home/bigdata/camera/flow/jckjTmp/models/,进入目录,提示无此目录
修改后内容:
问题:Keras模型保存到.h5文件失败,提示无法保存解决方案尝试:1.重新安装h5py库
2.检查路径:cd /home/bigdata/camera/flow/jckjTmp/models/,确认目录存在
问题
Keras模型迭代一次保存模型到.h5中,无法保存,提示如下:方法尝试如下
1. 卸载、重新安装h5py
2. cd file:///home/bigdata/camera/flow/jckjTmp/models/命令,进入目录,提示无此目录
改用"/home/bigdata/camera/flow/jckjTmp/models/"路径,问题解决。

