mlx-examples/mnist/README.md
Kashif Rasul 0371d90ccb
fashion-mnist example (#180)
* fashion mnist example

* fix from review
2023-12-23 07:34:45 -08:00

30 lines
415 B
Markdown

# MNIST
This example shows how to run some simple models on MNIST.
Install the dependencies:
```
pip install -r requirements.txt
```
Run the example with:
```
python main.py
```
By default, the example runs on the CPU. To run on the GPU, use:
```
python main.py --gpu
```
For a full list of options run:
```
python main.py --help
```
To run the PyTorch or Jax examples install the respective framework.