Skip to content

Commit b6dcc68

Browse files
committed
Add conversion for multiple download scripts
1 parent 6473160 commit b6dcc68

308 files changed

Lines changed: 966 additions & 966 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

001_deeplabv3/01_mobilenetv3_small/02_cityscapes/02_quantization-aware/download.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

3-
curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=15HmokkOIHTEMYedlFo0DD8DjYcASxR56" > /dev/null
4-
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
5-
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=15HmokkOIHTEMYedlFo0DD8DjYcASxR56" -o deeplabv3-mobilenetv3-small-cityscapes-5000-quant.tar.gz
3+
fileid="15HmokkOIHTEMYedlFo0DD8DjYcASxR56"
4+
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
5+
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o deeplabv3-mobilenetv3-small-cityscapes-5000-quant.tar.gz
66
tar -zxvf deeplabv3-mobilenetv3-small-cityscapes-5000-quant.tar.gz
77
rm deeplabv3-mobilenetv3-small-cityscapes-5000-quant.tar.gz
88

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

3-
curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1197PaaAUGHAJ_L_fQP5rzPqpCrk62qFM" > /dev/null
4-
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
5-
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1197PaaAUGHAJ_L_fQP5rzPqpCrk62qFM" -o deeplab_mnv3_small_cityscapes_trainfine_769.pb
3+
fileid="1197PaaAUGHAJ_L_fQP5rzPqpCrk62qFM"
4+
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
5+
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o deeplab_mnv3_small_cityscapes_trainfine_769.pb
66

77
echo Download finished.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

3-
curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1vm51VfBkWkhtHc0OE1CPSBaeupad-iqq" > /dev/null
4-
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
5-
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1vm51VfBkWkhtHc0OE1CPSBaeupad-iqq" -o deeplab_mnv3_small_cityscapes_trainfine.tflite
3+
fileid="1vm51VfBkWkhtHc0OE1CPSBaeupad-iqq"
4+
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
5+
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o deeplab_mnv3_small_cityscapes_trainfine.tflite
66

77
echo Download finished.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

3-
curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1CAuJ34W34LkD20IHSHVx-Z-BzwdEqCsE" > /dev/null
4-
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
5-
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1CAuJ34W34LkD20IHSHVx-Z-BzwdEqCsE" -o deeplab_mnv3_small_cityscapes_trainfine.tflite
3+
fileid="1CAuJ34W34LkD20IHSHVx-Z-BzwdEqCsE"
4+
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
5+
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o deeplab_mnv3_small_cityscapes_trainfine.tflite
66

77
echo Download finished.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/bin/bash
22

3-
curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1JzYLv7M0KVdLsqwu5lvRFEpUQv68hryk" > /dev/null
4-
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
5-
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1JzYLv7M0KVdLsqwu5lvRFEpUQv68hryk" -o deeplab_mnv3_small_weight_quant_257.tflite
3+
fileid="1JzYLv7M0KVdLsqwu5lvRFEpUQv68hryk"
4+
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
5+
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o deeplab_mnv3_small_weight_quant_257.tflite
66

7-
curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1HaZMOrJixipNz7Ia23xZh8C65v007mNe" > /dev/null
8-
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
9-
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1HaZMOrJixipNz7Ia23xZh8C65v007mNe" -o deeplab_mnv3_small_weight_quant_769.tflite
7+
fileid="1HaZMOrJixipNz7Ia23xZh8C65v007mNe"
8+
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
9+
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o deeplab_mnv3_small_weight_quant_769.tflite
1010

1111
echo Download finished.

001_deeplabv3/02_mobilenetv3_large/02_cityscapes/02_quantization-aware/download.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

3-
curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=147mG4-vOBMPII-mvsMv1bB6g5NAdw9y0" > /dev/null
4-
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
5-
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=147mG4-vOBMPII-mvsMv1bB6g5NAdw9y0" -o deeplabv3-mobilenetv3-large-cityscapes-4361-quant.tar.gz
3+
fileid="147mG4-vOBMPII-mvsMv1bB6g5NAdw9y0"
4+
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
5+
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o deeplabv3-mobilenetv3-large-cityscapes-4361-quant.tar.gz
66
tar -zxvf deeplabv3-mobilenetv3-large-cityscapes-4361-quant.tar.gz
77
rm deeplabv3-mobilenetv3-large-cityscapes-4361-quant.tar.gz
88

016_EfficientNet-lite/01_efficientnet_lite0/01_float32/download.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

3-
curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1M53Yoa5Z_kBdapi78GCWBDZilFYUFuex" > /dev/null
4-
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
5-
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1M53Yoa5Z_kBdapi78GCWBDZilFYUFuex" -o resources.tar.gz
3+
fileid="1M53Yoa5Z_kBdapi78GCWBDZilFYUFuex"
4+
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
5+
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
66

77
tar -zxvf resources.tar.gz
88
rm resources.tar.gz

016_EfficientNet-lite/01_efficientnet_lite0/02_weight_quantization/download.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

3-
curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1mSepGaHvD62qg-N9Yt0hJmtoAUGzhSBZ" > /dev/null
4-
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
5-
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1mSepGaHvD62qg-N9Yt0hJmtoAUGzhSBZ" -o resources.tar.gz
3+
fileid="1mSepGaHvD62qg-N9Yt0hJmtoAUGzhSBZ"
4+
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
5+
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
66

77
tar -zxvf resources.tar.gz
88
rm resources.tar.gz

016_EfficientNet-lite/01_efficientnet_lite0/03_integer_quantization/download.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

3-
curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=17P_emMbxdT0anYSJRC8kZcZDJA8kP_Tw" > /dev/null
4-
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
5-
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=17P_emMbxdT0anYSJRC8kZcZDJA8kP_Tw" -o resources.tar.gz
3+
fileid="17P_emMbxdT0anYSJRC8kZcZDJA8kP_Tw"
4+
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
5+
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
66

77
tar -zxvf resources.tar.gz
88
rm resources.tar.gz

016_EfficientNet-lite/01_efficientnet_lite0/04_float16_quantization/download.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

3-
curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1lOWH41KhNSgNZiymqqViPPBs3jxSCoaT" > /dev/null
4-
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
5-
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1lOWH41KhNSgNZiymqqViPPBs3jxSCoaT" -o resources.tar.gz
3+
fileid="1lOWH41KhNSgNZiymqqViPPBs3jxSCoaT"
4+
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
5+
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
66

77
tar -zxvf resources.tar.gz
88
rm resources.tar.gz

0 commit comments

Comments
 (0)