Skip to content

Commit

Permalink
added script to download all
Browse files Browse the repository at this point in the history
  • Loading branch information
szagoruyko committed May 29, 2015
1 parent 28c2e7a commit b86b587
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ We provide the models in 3 formats, two are Torch7 "nn" and "cudnn" formats and
| liberty | yosemite | 7 | **5** | 6.18 | 14.76 | 9.39 |
| liberty | notredame | 2.76 | **1.9** | 2.77 | 4.04 | 2.82 |

To save time downloading models one by one run the script (downloads ~375MB):

```
./download_pack.sh
```

#### nn format

Models in nn format can be loaded and used without CUDA support in Torch. To enable CUDA support ```model:cuda()``` call required.
Expand Down
62 changes: 62 additions & 0 deletions download_pack.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
#!/bin/bash
mkdir -p networks
mkdir -p networks/2ch
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch/2ch_yosemite_nn.t7 -P networks/2ch
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch/2ch_notredame_nn.t7 -P networks/2ch
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch/2ch_liberty_nn.t7 -P networks/2ch
mkdir -p networks/2ch2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch2stream/2ch2stream_yosemite_nn.t7 -P networks/2ch2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch2stream/2ch2stream_notredame_nn.t7 -P networks/2ch2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch2stream/2ch2stream_liberty_nn.t7 -P networks/2ch2stream
mkdir -p networks/2chdeep
wget https://dl.dropboxusercontent.com/u/44617616/networks/2chdeep/2chdeep_yosemite_nn.t7 -P networks/2chdeep
wget https://dl.dropboxusercontent.com/u/44617616/networks/2chdeep/2chdeep_notredame_nn.t7 -P networks/2chdeep
wget https://dl.dropboxusercontent.com/u/44617616/networks/2chdeep/2chdeep_liberty_nn.t7 -P networks/2chdeep
mkdir -p networks/siam
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam/siam_yosemite_nn.t7 -P networks/siam
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam/siam_notredame_nn.t7 -P networks/siam
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam/siam_liberty_nn.t7 -P networks/siam
mkdir -p networks/siam2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam2stream/siam2stream_yosemite_nn.t7 -P networks/siam2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam2stream/siam2stream_notredame_nn.t7 -P networks/siam2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam2stream/siam2stream_liberty_nn.t7 -P networks/siam2stream
mkdir -p networks/2ch
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch/2ch_yosemite_cudnn.t7 -P networks/2ch
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch/2ch_notredame_cudnn.t7 -P networks/2ch
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch/2ch_liberty_cudnn.t7 -P networks/2ch
mkdir -p networks/2ch2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch2stream/2ch2stream_yosemite_cudnn.t7 -P networks/2ch2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch2stream/2ch2stream_notredame_cudnn.t7 -P networks/2ch2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch2stream/2ch2stream_liberty_cudnn.t7 -P networks/2ch2stream
mkdir -p networks/2chdeep
wget https://dl.dropboxusercontent.com/u/44617616/networks/2chdeep/2chdeep_yosemite_cudnn.t7 -P networks/2chdeep
wget https://dl.dropboxusercontent.com/u/44617616/networks/2chdeep/2chdeep_notredame_cudnn.t7 -P networks/2chdeep
wget https://dl.dropboxusercontent.com/u/44617616/networks/2chdeep/2chdeep_liberty_cudnn.t7 -P networks/2chdeep
mkdir -p networks/siam
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam/siam_yosemite_cudnn.t7 -P networks/siam
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam/siam_notredame_cudnn.t7 -P networks/siam
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam/siam_liberty_cudnn.t7 -P networks/siam
mkdir -p networks/siam2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam2stream/siam2stream_yosemite_cudnn.t7 -P networks/siam2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam2stream/siam2stream_notredame_cudnn.t7 -P networks/siam2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam2stream/siam2stream_liberty_cudnn.t7 -P networks/siam2stream
mkdir -p networks/2ch
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch/2ch_yosemite.bin -P networks/2ch
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch/2ch_notredame.bin -P networks/2ch
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch/2ch_liberty.bin -P networks/2ch
mkdir -p networks/2ch2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch2stream/2ch2stream_yosemite.bin -P networks/2ch2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch2stream/2ch2stream_notredame.bin -P networks/2ch2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/2ch2stream/2ch2stream_liberty.bin -P networks/2ch2stream
mkdir -p networks/2chdeep
wget https://dl.dropboxusercontent.com/u/44617616/networks/2chdeep/2chdeep_yosemite.bin -P networks/2chdeep
wget https://dl.dropboxusercontent.com/u/44617616/networks/2chdeep/2chdeep_notredame.bin -P networks/2chdeep
wget https://dl.dropboxusercontent.com/u/44617616/networks/2chdeep/2chdeep_liberty.bin -P networks/2chdeep
mkdir -p networks/siam
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam/siam_yosemite.bin -P networks/siam
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam/siam_notredame.bin -P networks/siam
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam/siam_liberty.bin -P networks/siam
mkdir -p networks/siam2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam2stream/siam2stream_yosemite.bin -P networks/siam2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam2stream/siam2stream_notredame.bin -P networks/siam2stream
wget https://dl.dropboxusercontent.com/u/44617616/networks/siam2stream/siam2stream_liberty.bin -P networks/siam2stream

0 comments on commit b86b587

Please sign in to comment.