当前位置:网站首页>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
边栏推荐
- 关于npm的那些事儿
- MySQL related knowledge
- 【Unity实战100例】文件压缩Zip和ZIP文件的解压
- 小程序--独立分包&分包预下载
- C Pitfalls and Defects Chapter 7 Portability Defects 7.7 Truncation During Division
- 51.【结构体初始化的两种方法】
- LeetCode952三部曲之一:解题思路和初级解法(137ms,超39%)
- Appendix A printf, varargs and stdarg a. 2 use varargs. H to realize the variable argument list
- [@synthesize in Objective-C]
- 0DFS中等 LeetCode6134. 找到离给定两个节点最近的节点
猜你喜欢
随机推荐
ModuleNotFoundError: No module named ‘yaml‘
Spark cluster construction
shell脚本
2022-08-01 第五小组 顾祥全 学习笔记 day25-枚举与泛型
An online JVM FullGC made it impossible to sleep all night and completely crashed~
C pitfalls and pitfalls Chapter 7. Portability pitfalls 7.10 Free first, then realloc
迁移学习——Discriminative Transfer Subspace Learning via Low-Rank and Sparse Representation
Pagoda application experience
宝塔应用使用心得
scikit-learn no moudule named six
shell规范与变量
教你VSCode如何快速对齐代码、格式化代码
[@synthesize in Objective-C]
空间数据库开源路,超图+openGauss风起禹贡
如何优雅的性能调优,分享一线大佬性能调优的心路历程
Jmeter combat | Repeated and concurrently grabbing red envelopes with the same user
基于php在线考试管理系统获取(php毕业设计)
CS-NP白蛋白包覆壳聚糖纳米颗粒/人血清白蛋白-磷酸钙纳米颗粒无机复合材料
C expert programming
网络水军第一课:手写自动弹幕









