I think you can just call model.train() (instead of model.eval()) everytime you want to leave dropout turned on in testing time. This will produce different predicted probabilities each time even with the same input image since dropout is working.