Open ferewi opened 3 years ago
Thank you for your interest. We have ensured that the local files are viable. As the model files are quite large, we use git lfs to upload them. Therefore, some files may not have a "download" button. We recommend that you download the zip file and try to load the model file.
Thank you for your answer. Unfortunately, downloading the zip is what I did. Would you mind checking the model files yourself with the h5debug tool?
We have used the h5debug tool to check the availability of the model file.
h5debug MLRSNet-ResNet101.h5
But no error message was returned.
Moreover, we checked the files use
import h5py f = h5py.File('MLRSNet-ResNet101.h5', 'r') print(list(f.keys()))
Return
['model_weights', 'optimizer_weights']
In addition, we have uploaded a zip file to Google Cloud Drive. You can re-try to download the model file from this link: https://drive.google.com/file/d/1T9lsYsE95KV2iOYEnWV9Qj008prMT_5S/view?usp=sharing
Thanks a lot - the models downloaded from the google drive are all working.
I also noticed that the zip archive that is available here on Github has just 1.4 GB where the archive from the google drive has about 3.2 GB - so there might be a problem with the models here on Github.
Again, thank you very much for your swift help.
Hi,
thank you for creating the great dataset. Though, I have the following issue loading the pre-trained models from the "models" directory:
I have a project set up with:
When I try to load any model (except MLRSNet-DenseNet121.h5) I get the following error:
I used the h5debug tool to check the files and it turns out, that the model files are reported to be correupted:
This is also the case for all model files except MLRSNet-DenseNet121.h5
What I also noticed is, that if I try to download the model from github, I get a "download" button for MLRSNet-DenseNet121.h5 (see: https://github.com/cugbrs/MLRSNet/blob/master/Models/MLRSNet-DenseNet121.h5), but for any other model file, no download button is available and the "content" is shown differently (e.g. see: https://github.com/cugbrs/MLRSNet/blob/master/Models/MLRSNet-DenseNet169.h5)
Would it be possible that there was an issue when saving the models? Those stackoverflow posts suggest this as an issue https://stackoverflow.com/questions/38089950/error-opening-file-in-h5py-file-signature-not-found, https://stackoverflow.com/questions/26613570/hdf5-file-created-with-h5py-cant-be-opened-by-h5py?
Thank you for your help.
Cheers, Ferdinand