Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
28bd85d1
Commit
28bd85d1
authored
Jan 16, 2018
by
Asim Shankar
Browse files
Sanity test: Make sure the examples compile.
parent
0652d866
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
samples/languages/java/docker/README.md
samples/languages/java/docker/README.md
+3
-0
samples/languages/java/docker/sanity_test.sh
samples/languages/java/docker/sanity_test.sh
+7
-0
samples/languages/java/docker/test_inside_container.sh
samples/languages/java/docker/test_inside_container.sh
+12
-0
No files found.
samples/languages/java/docker/README.md
View file @
28bd85d1
...
...
@@ -10,3 +10,6 @@ docker run -it --rm -v ${PWD}/..:/examples -w /examples java-tensorflow
That second command will pop you into a shell which has all
the dependencies required to execute the scripts and Java
examples.
The script
`sanity_test.sh`
builds this container and runs a compilation
check on all the maven projects.
samples/languages/java/docker/sanity_test.sh
0 → 100755
View file @
28bd85d1
#!/bin/bash
#
# Silly sanity test
DIR
=
"
$(
cd
"
$(
dirname
"
$0
"
)
"
&&
pwd
-P
)
"
docker build
-t
java-tensorflow
.
docker run
-it
--rm
-v
${
PWD
}
/..:/examples java-tensorflow bash /examples/docker/test_inside_container.sh
samples/languages/java/docker/test_inside_container.sh
0 → 100644
View file @
28bd85d1
#!/bin/bash
set
-ex
cd
/examples/label_image
mvn compile
cd
/examples/object_detection
mvn compile
cd
/examples/training
mvn compile
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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