Skip to content

Commit

Permalink
Add python requirements for SD preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
mbartling committed Oct 31, 2017
1 parent 18c18fa commit e5b67bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ See mbed_app.json
## SD Card Preparation
The test data has to be loaded to the SD card for the default binary to run:

1. Install python dependencies `pip install -r requirements.txt` (Note: may have to use `pip3`)
1. Go to the `[project]\TESTS\scripts` folder
2. Run `python3 compileTestData.py`. This will create `[project]\TESTS\scripts\testData` directory.
3. Copy `[project]\TESTS\scripts\testData` to the root of your SD card.
1. Run `python3 compileTestData.py`. This will create `[project]\TESTS\scripts\testData` directory.
1. Copy `[project]\TESTS\scripts\testData` to the root of your SD card.

## Expected Output
The quantized weight and input data are stored in the SD. Setting the serial baud rate to 115200, here is what you should see:
Expand All @@ -55,4 +56,4 @@ Currently, the binary runs the first sample of the [MNIST dataset](http://yann.l
![alt text](https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/image/mlp_mnist.png "mxnet Handwritten Digit Recognition")


The related Tensorflow training script please refer to the [node-viewer](https://github.com/neil-tan/tf-node-viewer/blob/master/deep_mlp.py) project.
The related Tensorflow training script please refer to the [node-viewer](https://github.com/neil-tan/tf-node-viewer/blob/master/deep_mlp.py) project.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
idx2numpy

0 comments on commit e5b67bd

Please sign in to comment.