You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example shows how to convert EMNIST Tensorflow model into Tensorflow Lite Micro format and use it in embARC MLI application.
4
4
@@ -49,7 +49,7 @@ Open root directory of tensorflow in terminal (use Cygwin or MinGW terminal if y
49
49
```bash
50
50
make -f tensorflow/lite/micro/tools/make/Makefile TARGET_ARCH=arc microlite
51
51
```
52
-
Generated library *libtensorflow-microlite.a* can be found in *<tensorflow-dir>/tensorflow/lite/micro/tools/make/gen/<target>/lib*. Copy it to third_party directory of this example.
52
+
Generated library *libtensorflow-microlite.a* can be found in *\{tensorflow-dir\}/tensorflow/lite/micro/tools/make/gen/\{target\}/lib*. Copy it to third_party directory of this example.
After completing the tutorial you should have model and test samples generated. Copy *conversion_tutorial/generated/model.h* and *conversion_tutorial/generated/test_samples.cc* to *src* folder.
60
60
61
+
Before building you should set TENSORFLOW_DIR variable to point to your Tensorflow top folder. E.g. on Windows:
62
+
```bash
63
+
set TENSORFLOW_DIR=\{your-path-to-tensorflow\}
64
+
```
65
+
61
66
Now you can build and run the example with DesignWare ARC nSIM simulator:
0 commit comments