jjzjj

python - 调整大小时如何压缩hdf5文件?

这是我的代码:n=100000#Thisiswhatmakesittricky-lotsoffilesgoingintothishdf5filewithh5py.File('image1.h5','w')asf:dset_X=f.create_dataset('X',(1,960,224,224),maxshape=(None,960,224,224),chunks=True,compression='gzip')dset_y=f.create_dataset('y',(1,112,224*224),maxshape=(None,112,224*224),chunks=True,com

python - 使用 h5py 对 hdf5 进行增量写入

我有一个关于如何最好地使用python/h5py写入hdf5文件的问题。我有如下数据:-----------------------------------------|timepoint|voltage1|voltage2|...-----------------------------------------|178|10|12|...-----------------------------------------|179|12|11|...-----------------------------------------|185|9|12|...----------------

python - 使用 h5py 对 hdf5 进行增量写入

我有一个关于如何最好地使用python/h5py写入hdf5文件的问题。我有如下数据:-----------------------------------------|timepoint|voltage1|voltage2|...-----------------------------------------|178|10|12|...-----------------------------------------|179|12|11|...-----------------------------------------|185|9|12|...----------------