Closed Tengfei-Wang closed 5 years ago
What I did was writing the weights to a Matlab struct, read back to Python, restore model weights then export to h5. Unfortunately I no longer keep the code, but I think it's quite similar to .
Hi, Could you please provide the link to this tutorial again. This link seems to be broken. Thanks.
It's this one: https://docs.scipy.org/doc/scipy/reference/tutorial/io.html
Thank you.
Hi, Thanks for sharing your code. I noticed that the pretrained model file provided by original author is of .mat format, while yours is a .h5 file. Could you please share with me how you convert a matlab .mat file to the h5 filie? I need to convert another .mat file to h5, but I have encountered some difficulties. Thanks.