Katerina_Misik:

/resnet50_weights_tf_dim_ordering_tf_kernels_notop.h5


It seems as though your ResNet50 instantiation inside model.add is not finding your downloaded weights. Additionally, the weight file you’re loading seems to be from this (link) repository. Could you try (any) of the following?

Try re-downloading the weights (sometimes it can become corrupted)
Sometimes a separate Python process may also be running (for example if you opened it in a Jupyter notebook), you may want to ensure only a single notebook is using it at any point in time
Ensure the file path is correct, can you verify that using file explorer that the file exists where it’s supposed to be