mirror of
https://github.com/RustyRaptor/incubator-mxnet.git
synced 2026-12-04 00:05:18 -07:00
* remove md from whitelist * remove rst from whitelist * remove docker folder from whitelist * remove docs from whitelist
1.4 KiB
1.4 KiB
Instructions
This shows off how to use the module api.
There are examples of:
- high level api of training and prediction
- intermediate level api with save and loading from checkpoints
- examples of how to iteratate through the batch and calculate accuracy and predict manually.
To run the example you must do
lein installin the root of the main project directory- cd into this project directory and do
lein run. This will execute the cpu version.
You can control the devices you run on by doing:
lein run :cpu 2 - This will run on 2 cpu devices
lein run :gpu 1 - This will run on 1 gpu device
lein run :gpu 2 - This will run on 2 gpu devices