download_sferes.sh 469 Bytes
Newer Older
1 2 3 4 5 6 7 8
#!/bin/bash
path="./sferes"

if [ -d "${path}" ]; then
  echo "Please remove the existing [${path}] folder and re-run this script."
  exit 1
fi

Anh Nguyen's avatar
Anh Nguyen committed
9 10
# Download the version of Sferes that can be used for generating fooling images via EAs.
echo "Downloading Sferes ..."
11 12 13 14 15 16 17 18 19
wget https://github.com/Evolving-AI-Lab/fooling/archive/master.zip

echo "Extracting into ${path}"
unzip master.zip
mv ./fooling-master/sferes ./

# Clean up
rm -rf fooling-master master.zip

Anh Nguyen's avatar
Anh Nguyen committed
20
echo "Done."