title: How can I download and skip VGG weights that have no counterpart with my CNN in Keras?
body: <p>I would like to follow the Convolutional Neural Net (CNN) approach <a href="https://github.com/nshaud/DeepNetsForEO/blob/master/SegNet_PyTorch_v2.ipynb" rel="noreferrer">here</a>. However, this code in github uses Pytorch, whereas I am using Keras. </p>
  
  <p>I want to reproduce boxes 6,7 and 8 where pre-trained weights from VGG-16 on ImageNet is downloaded and is used to make the CNN converge faster.</p>
  
  <p>In particular, there is a portion (box 8) where weights are downloaded and skipped from VGG-16 that have no counterpart in <code>SegNet</code> (the CNN model). In my work, I am using a CNN model called <code>U-Net</code> instead of <code>Segnet</code>. The <code>U-Net</code> Keras code that I am using can be found <a href="https://github.com/SUZhaoyu/keras-semantic-segmentation/blob/develop/src/semseg/models/unet.py" rel="noreferrer">here</a>.</p>
  
  <p>I am new to Keras and would appreciate any insight in Keras code on how I can go about downloading and skipping the VGG weights that have no counterpart with my <code>U-Net</code>model.</p>