Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
applications
MNISTCalculator
Commits
71a7240a
Commit
71a7240a
authored
Mar 09, 2019
by
Christopher Jan-Steffen Brix
Browse files
Updated README, updated folder structure
parent
d7e5da94
Pipeline
#110357
passed with stage
in 18 minutes and 39 seconds
Changes
72
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
71a7240a
...
...
@@ -26,7 +26,7 @@ TestMXNET:
stage
:
linux
image
:
registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/mnistcalculator/mxnet:v0.0.3
script
:
-
cd
example
-
cd
mxnet
-
./prepare.sh
-
./build.sh
-
RES=$(./build/src/cpp/DigitCalculator resources/images/1.png resources/images/2.png resources/images/3.png resources/images/4.png resources/images/5.png resources/images/6.png)
...
...
@@ -37,7 +37,7 @@ TestCAFFE2:
stage
:
linux
image
:
registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/mnistcalculator/caffe2:v0.0.2
script
:
-
cd
example_
caffe2
-
cd caffe2
-
./build.sh
-
RES=$(./build/src/cpp/DigitCalculator
test_img
/2.jpg
t
es
t_img/3.jpg test_img/4.png test_img
/6.png
t
es
t_img/2.jpg test_img
/3.jpg)
-
RES=$(./build/src/cpp/DigitCalculator
resources/images
/2.jpg
r
es
ources/images/3.jpg resources/images/4.png resources/images
/6.png
r
es
ources/images/2.jpg resources/images
/3.jpg)
-
"
if
[[
$RES
!=
*
\"
SUM:
857
\"
*
]];
then
echo
\"
Wrong
result:
\"
$RES;
exit
1;
fi;"
README.md
View file @
71a7240a
...
...
@@ -7,3 +7,6 @@
3.
Deep Learning Framework
**MXNet**
.
4.
Armadillo (at least armadillo version 6.600 must be used)
[
Official instructions at Armadillo Website
](
http://arma.sourceforge.net/download.html
)
.
4.
OpenCV
## MXNet and Caffe2
For detailed instructions on how to run the MXNet and Caffe2 example, see the README in the corresponding folder.
\ No newline at end of file
example_
caffe2/.gitignore
→
caffe2/.gitignore
View file @
71a7240a
File moved
example
/CMakeLists.txt
→
caffe2
/CMakeLists.txt
View file @
71a7240a
File moved
example_
caffe2/README.md
→
caffe2/README.md
View file @
71a7240a
...
...
@@ -17,7 +17,7 @@ bash build.sh
Finally, run the calculator as follows:
```
./build/src/cpp/DigitCalculator
./
test_img/3.jpg
./build/src/cpp/DigitCalculator
test_img/2.jpg test_img/3.jpg test_img/4.png test_img/6.png test_img/2.jpg
test_img/3.jpg
```
You can try different images from the provided
`/test_img`
directory or even create your own images for testing. Note that the application program DigitCalculator will automatically rescale the given input image to the size 28x28.
...
...
example_
caffe2/build.sh
→
caffe2/build.sh
View file @
71a7240a
File moved
example_
caffe2/resources/docker/Dockerfile
→
caffe2/resources/docker/Dockerfile
View file @
71a7240a
File moved
example_
caffe2/
t
es
t_img
/2.jpg
→
caffe2/
r
es
ources/images
/2.jpg
View file @
71a7240a
File moved
example_
caffe2/
t
es
t_img
/3.jpg
→
caffe2/
r
es
ources/images
/3.jpg
View file @
71a7240a
File moved
example_
caffe2/
t
es
t_img
/4.png
→
caffe2/
r
es
ources/images
/4.png
View file @
71a7240a
File moved
example_
caffe2/
t
es
t_img
/6.png
→
caffe2/
r
es
ources/images
/6.png
View file @
71a7240a
File moved
example_
caffe2/resources/training_data/test_lmdb/data.mdb
→
caffe2/resources/training_data/test_lmdb/data.mdb
View file @
71a7240a
File moved
example_
caffe2/resources/training_data/test_lmdb/lock.mdb
→
caffe2/resources/training_data/test_lmdb/lock.mdb
View file @
71a7240a
File moved
example_
caffe2/resources/training_data/train_lmdb/data.mdb
→
caffe2/resources/training_data/train_lmdb/data.mdb
View file @
71a7240a
File moved
example_
caffe2/resources/training_data/train_lmdb/lock.mdb
→
caffe2/resources/training_data/train_lmdb/lock.mdb
View file @
71a7240a
File moved
example_
caffe2/src/cpp/CMakeLists.txt
→
caffe2/src/cpp/CMakeLists.txt
View file @
71a7240a
File moved
example_
caffe2/src/cpp/DigitCalculator.cpp
→
caffe2/src/cpp/DigitCalculator.cpp
View file @
71a7240a
File moved
example
/src/emadl/models/cNNCalculator/Add.emadl
→
caffe2
/src/emadl/models/cNNCalculator/Add.emadl
View file @
71a7240a
File moved
example
/src/emadl/models/cNNCalculator/ArgMax.emadl
→
caffe2
/src/emadl/models/cNNCalculator/ArgMax.emadl
View file @
71a7240a
File moved
example
/src/emadl/models/cNNCalculator/Calculator.emadl
→
caffe2
/src/emadl/models/cNNCalculator/Calculator.emadl
View file @
71a7240a
File moved
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment