python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python mnist.py
The code is from https://github.com/pytorch/examples/tree/main/mnist.
python export_to_onnx.py
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python mnist.py
The code is from https://github.com/pytorch/examples/tree/main/mnist.
python export_to_onnx.py