Solved by ptrblck in post #2 
              
              
                You can load and process a single image, e.g. via PIL.Image.open and torchvision.transforms. 
Once you have created the image tensor for this single input image, you can add a batch dimension via x = x.unsqueeze(0) and pass it to the model. 
Let me know, if this works for you.