| workplace=`pwd -P` | |
| if [ ! -d "/data/ssd/public/czli/deblur/GOPRO_Large" ]; then | |
| workplace=`pwd` | |
| echo "Copying dataset to ssd" | |
| cd /research/dept7/liuhy/deblur/dataset | |
| mkdir -p /data/ssd/public/czli/deblur/GOPRO_Large | |
| cp GOPRO_Large.zip /data/ssd/public/czli/deblur/GOPRO_Large | |
| cd /data/ssd/public/czli/deblur/GOPRO_Large | |
| echo "Dumping zip in data path:" `pwd` | |
| for f in *.zip; do unzip "$f"; done | |
| fi | |
| cd "$workplace" | |
| echo "Workplace:" `pwd` |