Skip to content
Advertisement

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 code:

JavaScript

This is the error:

JavaScript

Advertisement

Answer

According to this post on the fast.ai forum, this is the solution to use densenet with fast.ai:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement