当前位置:网站首页>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 h5pyIf 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.0If you have any questions, welcome further communication and follow the official account
边栏推荐
猜你喜欢
随机推荐
ModuleNotFoundError: No module named 'yaml'
SQL injection of WEB penetration
How to encapsulate the cookie/localStorage sessionStorage hook?
C pitfalls and pitfalls Chapter 8 Suggestions and answers 8.2 Answers
模拟数据之mockjs
shell脚本
PyQt5 + MySQL5.8 【学生信息管理系统】【增删改查】
scikit-learn no moudule named six
深拷贝浅拷贝
小程序--独立分包&分包预下载
第一讲 测试知多少
空间数据库开源路,超图+openGauss风起禹贡
Spark练习题+答案
0DFS中等 LeetCode6134. 找到离给定两个节点最近的节点
Appendix A printf, varargs and stdarg A.3 stdarg.h ANSI version of varargs.h
【Objective-C中的@synthesize】
0DFS Medium LeetCode6134. Find the closest node to the given two nodes
AIDL communication
NFT的10种实际用途(NFT系统开发)
shell specification and variables








