RuntimeError: Error(s) in loading state_dict for DenseNet: Unexpected key(s) in state_dict

It looks like you are using an older PyTorch version to load the model.
Have a look at this thread for possible solutions.