download_sferes.sh 469 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. path="./sferes"
  3. if [ -d "${path}" ]; then
  4. echo "Please remove the existing [${path}] folder and re-run this script."
  5. exit 1
  6. fi
  7. # Download the version of Sferes that can be used for generating fooling images via EAs.
  8. echo "Downloading Sferes ..."
  9. wget https://github.com/Evolving-AI-Lab/fooling/archive/master.zip
  10. echo "Extracting into ${path}"
  11. unzip master.zip
  12. mv ./fooling-master/sferes ./
  13. # Clean up
  14. rm -rf fooling-master master.zip
  15. echo "Done."