download_models.sh 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
  2. # Full license terms provided in LICENSE.md file.
  3. model_urls=(
  4. http://download.tensorflow.org/models/inception_v1_2016_08_28.tar.gz
  5. http://download.tensorflow.org/models/inception_v2_2016_08_28.tar.gz
  6. http://download.tensorflow.org/models/inception_v3_2016_08_28.tar.gz
  7. http://download.tensorflow.org/models/inception_v4_2016_09_09.tar.gz
  8. http://download.tensorflow.org/models/inception_resnet_v2_2016_08_30.tar.gz
  9. http://download.tensorflow.org/models/inception_resnet_v2_2016_08_30.tar.gz
  10. http://download.tensorflow.org/models/vgg_16_2016_08_28.tar.gz
  11. http://download.tensorflow.org/models/vgg_19_2016_08_28.tar.gz
  12. http://download.tensorflow.org/models/resnet_v1_50_2016_08_28.tar.gz
  13. http://download.tensorflow.org/models/resnet_v1_101_2016_08_28.tar.gz
  14. http://download.tensorflow.org/models/resnet_v1_152_2016_08_28.tar.gz
  15. http://download.tensorflow.org/models/resnet_v2_50_2017_04_14.tar.gz
  16. http://download.tensorflow.org/models/resnet_v2_101_2017_04_14.tar.gz
  17. http://download.tensorflow.org/models/resnet_v2_152_2017_04_14.tar.gz
  18. http://download.tensorflow.org/models/mobilenet_v1_1.0_224_2017_06_14.tar.gz
  19. http://download.tensorflow.org/models/mobilenet_v1_0.50_160_2017_06_14.tar.gz
  20. http://download.tensorflow.org/models/mobilenet_v1_0.25_128_2017_06_14.tar.gz
  21. )
  22. mkdir -p data/checkpoints
  23. cd data/checkpoints
  24. for url in ${model_urls[@]}
  25. do
  26. tarname=$(basename $url)
  27. echo $tarname
  28. wget $url
  29. tar -xzf $(basename $url)
  30. rm $tarname
  31. done
  32. cd ../..