当前位置:网站首页>对.h5文件的迭代显示,h5py数据操作
对.h5文件的迭代显示,h5py数据操作
2022-07-23 05:42: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)
结果如下:
边栏推荐
猜你喜欢

Activiti7 Quick Start experience sharing

Data warehouse 4.0 notes - user behavior data collection IV

Data warehouse 4.0 notes - data warehouse environment construction - Yan configuration

Development of digital collection system: Baidu AI pays tribute to Air China

數倉4.0筆記——業務數據采集

Installation and process creation of activiti app used by activiti workflow

数仓4.0笔记——业务数据采集——Sqoop

1. Initial experience of MySQL

高德定位---权限弹框不出现的问题
![[doris] configure and basically use the contents system (continue to add content when you have time)](/img/74/21c5c0866ed6b1bb6f9a1e3755b61e.png)
[doris] configure and basically use the contents system (continue to add content when you have time)
随机推荐
NFT digital collection system development: the combination of music and NFT
数仓4.0笔记——用户行为数据采集二
Installation and process creation of activiti app used by activiti workflow
BST树
APP自动化测试工具-appium的安装及使用
Charles抓包的使用步骤
11. Multithreading
循环队列
Mysqldump batch export MySQL table creation statement
NFT digital collection development: Jingdong "Qida bear takes you to the capital" tourism package
1.认识数据库
ninja文件语法学习
Mosaic the face part of the picture
Data warehouse 4.0 notes - business data collection - sqoop
分治与递归(练习题)
NFT digital collection system development: Shenzhen Evening News "good times travel" digital collection online seconds chime
Customized development of ant chain NFT digital collection DAPP mall system
如何进行强制类型转换?
Phxpaxos installation and compilation process
MySQL用户管理