QVPR / Patch-NetVLAD

Code for the CVPR2021 paper "Patch-NetVLAD: Multi-Scale Fusion of Locally-Global Descriptors for Place Recognition"
MIT License
517 stars 72 forks source link

How to convert h5 files to npz #16

Closed DonMuv closed 3 years ago

DonMuv commented 3 years ago

Does anyone know how to convert h5 files to npz format? the ground truth files of some data sets are h5 files

Tobias-Fischer commented 3 years ago

Hi @DonMuv, Do you happen to have an example for a dataset in which that is the case? You can take a similar approach to https://stackoverflow.com/questions/46733052/read-hdf5-file-into-numpy-array in general, but we might be able to help if you have specific examples.

DonMuv commented 3 years ago

Hi @Tobias-Fischer , Sorry to disturb you, I have solved this problem, thank you very much

Tobias-Fischer commented 3 years ago

Great! Thanks for letting us know.