当前位置:网站首页>ImportError: `save_weights` requires h5py. Problem solved
ImportError: `save_weights` requires h5py. Problem solved
2022-08-01 21:36:00 【iticker】
Problem analysis: It is time to use h5py in conjunction with keras or tensorflow to save the model, so you need to install the library, and ensure that the h5py version matches the problem of keras or tensorflow
Problem resolution
Install h5py
pip install h5py
If the error is still reported, it may be that the h5py version matches keras or tensorflow. I installed tensorflow=1.6, and the installation command is as follows
pip install h5py==2.9.0
If you have any questions, welcome further communication and follow the official account
边栏推荐
猜你喜欢
Based on php hotel online reservation management system acquisition (php graduation project)
C Expert Programming Preface
基于php在线学习平台管理系统获取(php毕业设计)
C语言必杀技3行代码把运行速度提升4倍
render-props和高阶组件
HCIP---企业网的架构
作业8.1 孤儿进程与僵尸进程
Based on php online examination management system acquisition (php graduation design)
小程序--分包
方舟:生存进化官服和私服区别
随机推荐
groupByKey和reduceBykey的区别
Spark shuffle tuning
How to encapsulate the cookie/localStorage sessionStorage hook?
C pitfalls and pitfalls Chapter 8 Suggestions and answers 8.2 Answers
ARFoundation入门教程U2-AR场景截图截屏
空间数据库开源路,超图+openGauss风起禹贡
Based on php film and television information website management system acquisition (php graduation design)
Mini Program--Independent Subcontracting & Subcontracting Pre-download
The Microsoft campus ambassador to shout you to autumn recruit!
JVM内存结构详解
LeetCode952三部曲之一:解题思路和初级解法(137ms,超39%)
基于php在线音乐网站管理系统获取(php毕业设计)
0DFS Medium LeetCode6134. Find the closest node to the given two nodes
MySQL related knowledge
Shell编程之条件语句
TP5-NPs负载噻吩类化合物TP5白蛋白纳米粒/阿魏酸钠新糖牛血清蛋白纳米粒
C语言_typedef和结构体
shell specification and variables
WEB 渗透之端口协议
0DFS中等 LeetCode6134. 找到离给定两个节点最近的节点