当前位置:网站首页>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
边栏推荐
猜你喜欢

PyQt5 + MySQL5.8 【学生信息管理系统】【增删改查】

shell编程规范与变量

用户量大,Redis没法缓存响应,数据库宕机?如何排查解决?

2022牛客多校联赛第五场 题解

An online JVM FullGC made it impossible to sleep all night and completely crashed~

基于php影视资讯网站管理系统获取(php毕业设计)

with语句和上下文管理器

FusionGAN:A generative adversarial network for infrared and visible image fusion文章学习笔记

2022-08-01 第五小组 顾祥全 学习笔记 day25-枚举与泛型

Centos7--MySQL的安装
随机推荐
LeetCode·每日一题·1374.生成每种字符都是奇数个的字符串·模拟
Realize the superposition display analysis of DWG drawing with CAD in Cesium
365天挑战LeetCode1000题——Day 046 生成每种字符都是奇数个的字符串 + 两数相加 + 有效的括号
MySQL related knowledge
Image fusion GANMcC study notes
C Expert Programming Chapter 1 C: Through the Fog of Time and Space 1.1 The Prehistoric Phase of the C Language
The difference between groupByKey and reduceBykey
ModuleNotFoundError: No module named ‘yaml‘
虚拟内存与物理内存之间的关系
方舟生存进化是什么游戏?好不好玩
C expert programming
HCIP---多生成树协议相关知识点
空间数据库开源路,超图+openGauss风起禹贡
关于npm的那些事儿
Shell编程之条件语句
方舟:生存进化PVE模式和PVP模式
How to encapsulate the cookie/localStorage sessionStorage hook?
Pytest: begin to use
C Pitfalls and Defects Chapter 7 Portability Defects 7.8 Size of Random Numbers
Uses of Anacoda