Open kz258852 opened 4 years ago
Could you help to provide the detail error logs?
Instructions for updating: Call initializer instance with the dtype argument instead of passing it to the constructor A local file was found, but it seems to be incomplete or outdated because the auto file hash does not match the original value of 345255ed8048c2f22c793070a9c1a130 so we will re-download the data. Downloading data from https://github.com/Callidior/keras-applications/releases/download/efficientnet/efficientnet-b0_weights_tf_dim_ordering_tf_kernels_autoaugment_notop.h5
from the error info seems the pretrained weights file you provided is not the official one. You can use following official link to get it:
wget https://github.com/Callidior/keras-applications/releases/download/efficientnet/efficientnet-b0_weights_tf_dim_ordering_tf_kernels_autoaugment_notop.h5
And put it under keras model cache path(for ubuntu OS it should be ~/.keras/models/)
OK ,Thank you,I will try it 谢谢啊
不客气 :)
When I train the model with efficentnet backbone,The code prompts to download a weight automatically. When I download the weight file into the weight file in advance, the code prompts that the weight downloaded in advance does not conform to a certain format,The code still has to download the weight file itself.