I've been reading your evaluation.py example, and I can't understand why weights aren't loaded when the VGGish model is made, nor it's fit after the model is made.
As I see it, if the networks are not initialized with given weights, nor fitted, then its weights are just random initializations and therefore, the features computed by the model are just random computations on the input and therefore they don add too much value to the model itself.
Hello
I've been reading your evaluation.py example, and I can't understand why weights aren't loaded when the VGGish model is made, nor it's fit after the model is made.
As I see it, those lines:
should be:
or after that, it should be fitted before used (which currently isn't).
With the current implementation (i.e.
load_weights=False
), I run it on a subset of Speech Commands dataset, and I get the following results:however, only switching
load_weights=True
, I get those:As I see it, if the networks are not initialized with given weights, nor fitted, then its weights are just random initializations and therefore, the features computed by the model are just random computations on the input and therefore they don add too much value to the model itself.
I would love to hear your thoughts on this