Why do people import weights for DenseNet when Keras includes them?
Because it must have been a kernel only competition, with:  'the following conditions must be met:"Internet must be turned off".'

When we use  " weights='imagenet' " , the notebook will connect to internet to download the weights. Since the user cannot connect to internet for that particular competition it is better to upload the weights as data source, and then import it for use.