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
Tag: densenet
Evaluating DenseNet model in Keras with weighted classes
I am doing a binary classification in Keras, using DenseNet. Created weighted classes: As a result, I have I fitted the model with class_weight But when I want to evaluate the model, I am not sure how to evaluate the weighted model, because the class_weight is a part of the history. How to update this code, using instead of default