Serving pyTorch models via Web: Application to whole brain and retinal OCT segmentation