Generates segmentation examples from the MNIST and similar datasets.
- Download and unpack the MNIST database
- Add an environment variable MNIST_PATH pointing to the MNIST database
- Add the
python
folder in this repository to your PYTHONPATH
- Run
generate_segmnist.py
orgenerate_segmnist_shapes.py
- Examples are in the
data
subdirectory