{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Example: Convert a PyTorch image segmentation model to CoreML\n", "\n", "In this example, we will convert a pretrained PyTorch model for image segmentation. We will assume you have read through the [PyTorch image classification example](pytorch.ipynb) already. This notebook is based on [this example in the coremltools documentation](https://coremltools.readme.io/docs/pytorch-conversion-examples).\n", "\n", "
\n", "conda env create -n cml_demo -f binder/environment.yml\n", "conda activate cml_demo\n", "\n", "