This is a work-in-progress vector version of the MNIST dataset.


Here are some samples from the training set. Note that, while these are rasterized, the underlying images can be rendered at any resolution because they are smooth vector graphics.

![A grid of sixteen digit images]( =300x300)


I have already converted all of MNIST to Bezier curves. This dataset can be downloaded at this page. There are two files: and, each containing a separate json file for each digit image.

To load this dataset (and automatically download it), you can use pytorch-bezier-mnist included in this repo.


The examples directory contains some machine learning examples that use the dataset.