错误:
OSError: Unable to open file (unable to open file: name = ‘model_3.h5’’, errno = 2, error message = ‘No such file or directory’, flags = 0, o_flags = 0))
出现这个问题,上网查有各种原因,然后我是在termianal 中先卸载了h5py包,重新安装
卸载:
pip uninstall h5py
安装:
pip install h5py
同时我发现我的我的工程里并没有我自己convert生成的.h5文件,我也不知道什么原因,然后从之前跑成功的文件里复制权重过来,就不报错了,可以正常的训练。。。。。

(OSError: Unable to open file (unable to open file: name = ‘model_3.h5’, errno = 2, error message =相关推荐

  1. h5py OSError: Unable to open file (unable to lock file, errno = 11, error message = ‘Resource tempor

    报错:h5py OSError: Unable to open file (unable to lock file, errno = 11, error message = 'Resource tem ...

  2. karas报错filename = 'fine_tuned_net.h5', file descriptor = 24, errno = 28, error message = 'No space l

    karas epochs=50,在第14时报错 File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrap ...

  3. 导入keras训练好的模型报错解决OSError: Unable to open file (unable to open file: name = ‘model_3.h5’)

    导入keras训练好的模型报错解决) 开心撒花 切入正题 开心撒花 第一次写博客,想分享记录一下自己写程序.跑程序过程中的问题和收获.哈哈哈哈 开心. Markdown编辑器 第一次用感觉很友好啊.喜 ...

  4. 如何解决:OSError: Unable to create file (unable to open file: name = ‘. et_classification.h5‘, errno = 2

    报错:OSError: Unable to create file (unable to open file: name = '. et_classification.h5', errno = 22, ...

  5. pycharm中的文件路径错误问题:FileNotFoundError: [Errno 2] Unable to open file (unable to open file: name = ‘./D

    记录一下在读取数据遇到的一个问题: FileNotFoundError: [Errno 2] Unable to open file (unable to open file: name = './D ...

  6. 已解决:导入keras(tf)训练好的模型报错解决OSError: Unable to open file (unable to open file: name = ‘model_3.h5’)

    1.场景 导入keras训练好的模型报错解决 OSError: Unable to open file (unable to open file: name = 'model_3.h5') 2.解决方 ...

  7. Unable to load weights from pytorch checkpoint file

    使用pytorch加载bert预训练模型时,出现OSError:Unable to load weights from pytorch checkpoint file.if you tried to ...

  8. CentOS中输入yum报错:sudo: unable to execute /bin/yum: No such file or directory

    今天尝试更新了下虚拟机CentOS中的python版本后. 运行"yum"命令,就报错:"sudo: unable to execute /bin/yum: No suc ...

  9. KUP-11010: unable to open at least one dump file for fetch

    今天select一个表,报了个错误: SQL> select * from test2; select * from test2 * ERROR at line 1: ORA-29913: 执行 ...

最新文章

  1. mysql curd操作_(四):CURD操作详解(增删改查)
  2. 可靠性测试-故障模型库
  3. c语言用队列stl加头文件,C++ STL List队列用法(实例)
  4. 【课题总结】OpenCV 抠图项目实战(4)固定阈值抠图
  5. 中断处理函数_ARM的中断处理 [二]
  6. 春节假期前5天全国快递处理量达3.65亿件 同比增长224%
  7. 【干货分享】企业数据中台整体介绍及建设方案(文末附52页pdf下载链接)
  8. qlistwidgetitem itempressed怎么区分左右键_那个帮你把魂斗罗玩通关的男人,去世了!那年暑假的“上上下下左右左右BABA”,你还记得吗?...
  9. 光模块自动测试系统软件,可插拔收发光模块自动化检测系统
  10. 河北省对口计算机打字试题,河北省对口升学计算机基础.ppt
  11. 用 Python3 + Selenium 实现模拟QQ空间登录及自动点赞功能
  12. wordpress采集插件自动采集伪原创免费插件
  13. 手游无限多开器安卓版_万能多开助手app下载-万能多开助手 安卓版v3.8.2-PC6安卓网...
  14. 问题:为什么我们计算的GDP增长率跟统计局公布的不一样
  15. SREng 使用指南(五)扩展的解说
  16. qq团购群如何引流?群主如何建群拉新以及营销
  17. 算法:泽勒的一致性 给定一个日期,输出这个日期是该年一周中的星期几 【c++ java python版本】
  18. Gephi实战教程:从入门到精通
  19. VMware虚拟机配置IP地址
  20. 认识区块链,认知区块链——百花争鸣

热门文章

  1. python学习:List和Turple
  2. 超详细Pyinstaller打包exe+反编译Pyinstaller打包的exe教程+防止反编译教程
  3. 程序员的叹息 (来自堕落兽人)
  4. vbs程序杀死某个进程
  5. 性能测试loadrunner之参数关联
  6. Tomo.Finance测试网公开:部分功能介绍
  7. socket通信实例(简单的聊天室)
  8. Datawhale 第一次打卡
  9. 各大直播平台主播的收入计算方式是怎样的?
  10. DL动态加载框架技术文档