Skip to content

Commit

Permalink
update link
Browse files Browse the repository at this point in the history
  • Loading branch information
alievk authored May 18, 2020
1 parent 81e1516 commit 5365236
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/download_data.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
#!/usr/bin/env bash

# vox-adv-cpk-wget.pth.tar (https://drive.google.com/file/d/1L8P-hpBhZi8Q_1vP2KlQ4N6dvlzpYBvZ/view)
# vox-adv-cpk-wget.pth.tar (https://drive.google.com/file/d/1coUCdyRXDbpWnEkA99NLNY60mb9dQ_n3/view)
echo "Downloading model's weights (vox-adv-cpk.pth.tar)"

https://drive.google.com/file/d/1L8P-hpBhZi8Q_1vP2KlQ4N6dvlzpYBvZ/view
file_id=1L8P-hpBhZi8Q_1vP2KlQ4N6dvlzpYBvZ
file_id=1coUCdyRXDbpWnEkA99NLNY60mb9dQ_n3
filename=vox-adv-cpk.pth.tar
echo "Getting cookie"
curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=${file_id}" > /dev/null
code="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
echo "Downloading data"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${code}&id=${file_id}" -o ${filename}

echo "Expected checksum: 46b26eabacbcf1533ac66dc5cf234c5e"
echo "Expected checksum: 8a45a24037871c045fbb8a6a8aa95ebc"
echo "Found checksum: $(md5sum ${filename})"

0 comments on commit 5365236

Please sign in to comment.