Skip to content

Commit

Permalink
Update download.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ildoonet authored Jun 1, 2018
1 parent 305ab42 commit 381750a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions models/numpy/download.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
#!/bin/bash

wget http://www.mediafire.com/file/ropayv77vklvf56/openpose_coco.npy
wget http://www.mediafire.com/file/7e73ddj31rzw6qq/openpose_vgg16.npy
echo "download videos"

extract_download_url() {

url=$( wget -q -O - $1 | grep -o 'http*://download[^"]*' | tail -n 1 )
echo "$url"

}

wget --continue $( extract_download_url http://www.mediafire.com/file/ropayv77vklvf56/openpose_coco.npy ) -O openpose_coco.npy
wget --continue $( extract_download_url http://www.mediafire.com/file/7e73ddj31rzw6qq/openpose_vgg16.npy ) -O openpose_vgg16.npy

0 comments on commit 381750a

Please sign in to comment.