当前位置:网站首页>對.h5文件的迭代顯示,h5py數據操作
對.h5文件的迭代顯示,h5py數據操作
2022-07-23 11:57:00 【KHB1698】
import h5py
import numpy as np
file = h5py.File('dataset/h36m/cameras.h5','r')
def show(data):
print('name ====', data.name)
for k in data:
if isinstance(k,str):
show(data[k])
else:
print()
print("-------------------------------------------")
print(data.name,data)
for i in data:
print(i ,end=' ')
print()
print("-------------------------------------------")
show(file)
結果如下:
边栏推荐
猜你喜欢

LearnOpenGL - Introduction
![[deployment] cluster deployment and startup of presto-server-0.261.tar.gz](/img/37/1185b2321b003a7793c8c37891008c.png)
[deployment] cluster deployment and startup of presto-server-0.261.tar.gz

Upload pictures to qiniu cloud through the web call interface

数仓4.0笔记——用户行为数据采集四

Charles抓包的使用步骤

NFT digital collection development: what are the possible application scenarios of digital collections in the future?

对.h5文件的迭代显示,h5py数据操作

NT68661-屏参升级-RK3128-开机自己升级屏参

Adding environment variables and templates to systemctl service
![[metric] use Prometheus to monitor flink1.13org.apache.flink.metrics](/img/9a/f6ef8de9943ec8e716388ae6620600.png)
[metric] use Prometheus to monitor flink1.13org.apache.flink.metrics
随机推荐
MySQL存储引擎
Websocket long connection
NFT trading platform digital collection system | development and customization
Modify the root password of MySQL
1. Initial experience of MySQL
循环队列
分治与递归(练习题)
Understanding of the decoder in the transformer in NLP
Scala II process control
Development of digital collection system: Baidu AI pays tribute to Air China
3、DQL(数据查询语句)
MySQL transaction rollback mechanism and principle
链队列
Review of knowledge points
APP自动化测试工具-appium的安装及使用
ChaosLibrary·UE4开坑笔记
Gerrit operation manual
UE4解决WebBrowser无法播放H.264的问题
Software test 1
MySQL view