#!/bin/bash
# yolov3_lite_voc_256_float16_quant.tflite
fileid="1pNKY16fwvIMC6uUCQXQT8SIz-4u2hjy6"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o yolov3_lite_voc_256_float16_quant.tflite
rm cookie

# yolov3_lite_voc_320_float16_quant.tflite
fileid="1Nnvt2ix6u9vx5bFeXd9lALo8inaKsdEW"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o yolov3_lite_voc_320_float16_quant.tflite
rm cookie

# yolov3_lite_voc_416_float16_quant.tflite
fileid="1VpmJtj3-LyEPpo_m_irOiZs2VJifo3yI"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o yolov3_lite_voc_416_float16_quant.tflite
rm cookie

echo Download finished.
