title: Load a single image in a pretrained pytorch net
body: <p>Total newbie here, I'm using <a href="https://github.com/delta-onera/segnet_pytorch/blob/master/segnet.py" rel="noreferrer">this</a> pytorch SegNet implementation with a '.pth' file containing weights from a 50 epochs training.
  How can I load a single test image and see the net prediction?
  I know this may sound like a stupid question but I'm stuck.
  What I've got is:</p>
  
  <pre><code>from segnet import SegNet
  import torch
  
  model = SegNet(2)
  model.load_state_dict(torch.load('./model_segnet_epoch50.pth'))
  </code></pre>
  
  <p>How do I "use" the net on a single test picture?</p>