当前位置:网站首页>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
边栏推荐
- 【Objective-C中的@synthesize】
- Based on php hotel online reservation management system acquisition (php graduation project)
- C语言_联合体共用体引入
- C expert programming
- Homework 8.1 Orphans and Zombies
- 关于npm的那些事儿
- HCIP---Multiple Spanning Tree Protocol related knowledge points
- 数据库练习
- [@synthesize in Objective-C]
- SQL injection of WEB penetration
猜你喜欢

51.【结构体初始化的两种方法】

基于php湘西旅游网站管理系统获取(php毕业设计)

TP5-NPs负载噻吩类化合物TP5白蛋白纳米粒/阿魏酸钠新糖牛血清蛋白纳米粒

迁移学习——Discriminative Transfer Subspace Learning via Low-Rank and Sparse Representation

Homework 8.1 Orphans and Zombies

图像融合GANMcC学习笔记

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

(七)《数电》——CMOS与TTL门电路

HCIP---Multiple Spanning Tree Protocol related knowledge points

with语句和上下文管理器
随机推荐
牛血清白蛋白-葡聚糖-叶黄素纳米颗粒/半乳糖白蛋白磁性阿霉素纳米粒的制备
ARFoundation入门教程U2-AR场景截图截屏
Realize the superposition display analysis of DWG drawing with CAD in Cesium
一个关于操作数据库的建议—用户密码
【Jmeter常用断言组件】
C pitfalls and pitfalls Chapter 7. Portability pitfalls 7.10 Free first, then realloc
HCIP---企业网的架构
AIDL communication
Based on php animation peripheral mall management system (php graduation design)
365 days challenge LeetCode1000 questions - Day 046 Generate a string with odd number of each character + add two numbers + valid parentheses
Spark练习题+答案
C语言_typedef和结构体
你居然不懂Bitmap和Drawable? 相关知识大扫盲
C pitfalls and pitfalls Chapter 8 Suggestions and answers 8.2 Answers
C语言_枚举类型介绍
可视化——Superset使用
Spark shuffle调优
shell specification and variables
用户量大,Redis没法缓存响应,数据库宕机?如何排查解决?
作业8.1 孤儿进程与僵尸进程