Number of parameters in Resnet-50 I'm using Keras, and I am struggling to know how many parameters Resnet-50 has. Keras documentation says around 25M, while if I use model.param_count() when loading a Resnet-50 model, it says 234M.
Which one is correct? I'm confused.

model.summary prints this:

Total params: 234,355,586
Trainable params: 210,767,874
Non-trainable params: 23,587,712
from keras.applications.resnet50 import ResNet50

resnet_model = ResNet50(weights='imagenet')

#resnet_model.count_params()
resnet_model.summary()



  Total params: 25,636,712
  Trainable params: 25,583,592
  Non-trainable params: 53,120


Check your code once to be sure that it is ResNet50