Editing
Tutorials:container which trains MNIST using Tensorflow
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Building and running the container === In the example_1 directory, do a <syntaxhighlight lang="bash"> > docker-compose up --build </syntaxhighlight> Note the build flag, if it is not there, the container will not be rebuilt if the image already exists, even if there were changes in the code. You should see the base container image being downloaded (if not already on your system), and then the changes specified in the Dockerfile being made. Afterwards, the container is run, which should create similar output as if running it directly on your system. Note that I have baked artificial delay into the code, training is much slower than it should be. This is so we have time to try some other things we can do with running containers, which we do now. Stop the running container anytime using Ctrl-C.
Summary:
Please note that all contributions to Collective Computational Unit may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
CCU:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Collective Computational Unit
Main page
Projects
Tutorials
GPU Cluster
Core Facilitys
Mediawiki
Recent changes
Random page
Help
Tools
What links here
Related changes
Page information