I ave some difficulties to understand the number of parameters.
First, just by looking at the model summary can we compute the number of parameters ? It seems that without kernel size of conv layer for example, we cannot compute the # of parameters.
Second, if I’m not mistaken, the formula for getting the number of parameters is the following:
First, just by looking at the model summary can we compute the number of parameters ? It seems that without kernel size of conv layer for example, we cannot compute the # of parameters.
Under ‘./yad2k/models’, you can find two files, “keras_darknet19.py” and “keras_yolo.py”. You can find parameters for Darknet in “keras_darknet19.py”.
If I apply that here:
param_number = 32 * ( 3 * 3 * 3 +1) = 865
Did I miss something ?
Your formula is right. But, as you see in darknet file, Conv2D is created with “use_bias=False”.
So, number of parameters for the first conv2D layer is
Ok thank for the clarification ! So without taking a look at the model, we cannot compute the number of parameters just by looking at the summary right ?