I want to load the weights from model A to model B. Model B last few layers are a bit different, thus the weights for those layers should not be loaded. I'm using load_weights with parameters such that layer that are different are skipped.
load_weights( filepath, by_name=True, skip_mismatch=True)
Is there a way to know the portion of weights that have correctly been loaded ? I just want to make sure than ~90% of the weights get correctly loaded.