Getting the files
In today’s demo, we’re going to be using Derecho to build an image classifier service. We’ll defer the details to the next page. Right now we’re only concerned with how to get the files we’ll need.
There are three different files you’ll need to download to run the demo:
- the demo source code
- A model file for flowers with sample inputs and parameters
- A model file for pets with sample inputs and parameters
We’ll start by downloading and extracting the demo source code into our home directory:
$ cd
$ wget https://github.com/Derecho-Project/sospdemo/archive/v0.9.tar.gz
$ tar -xvf v0.9.tar.gz
Next, we’ll want to download the model files. For convenience, let’s put them in the test-2-nodes/client
directory:
$ cd sospdemo-0.9/test-2-nodes/client/
$ wget https://derecho.cs.cornell.edu/files/flower-model.tar.bz2
$ tar -xvf flower-model.tar.bz2
$ wget https://derecho.cs.cornell.edu/files/pet-model.tar.bz2
$ tar -xvf pet-model.tar.bz2
Now let’s get back to the top-level demo directory:
cd ~/sospdemo-0.9*