Skip to content
Advertisement

Tag: conv-neural-network

What is meaning of separate ‘bias’ weights stored in Keras model?

Post-edit: Turns out I got confused while constantly playing with the three functions below. model.layer(i).get_weights() returns two separate arrays (without any tags) which are kernel and bias if bias exists in the model. model.get_weights() directly returns all the weights without any tags. model.weights returns weights and a bit of info such as name of the layer it belongs to and

Using densenet with fastai

I am trying to train a densenet model using the fast.ai library. I checked the documentation and I managed to make it work for resnet50. However, for densenet, it seems to be unable to find the module. I tried to use arch=models.dn121 as stated by this forum. But I get the same error. Can anyone please help? Here is the

Advertisement