Load model from checkpoint pytorch.