Download DN_RGB/code/prepare.sh from hyliu/lambdanet: direct link, hf CLI and curl.
- Browser
- Download file 496 Bytes
-
https://huggingface.co/hyliu/lambdanet/resolve/main/DN_RGB/code/prepare.sh
- Command line
-
hf download hf://hyliu/lambdanet/DN_RGB/code/prepare.sh
-
curl -L -o prepare.sh https://huggingface.co/hyliu/lambdanet/resolve/main/DN_RGB/code/prepare.sh
496 Bytes
| username=`whoami` | |
| task="DNDM" | |
| if [ ! -d "/data/ssd/public/$username/$task/dataset" ]; then | |
| workplace=`pwd -P` | |
| echo "Copying dataset to ssd" | |
| cd /research/dept7/liuhy/lambda/$task | |
| mkdir -p /data/ssd/public/$username/$task/dataset | |
| cp *.tar /data/ssd/public/$username/$task/dataset | |
| cd "/data/ssd/public/$username/$task/dataset" | |
| echo "Dumping tar in data path:" `pwd` | |
| for f in *.tar; do tar xf "$f"; done | |
| cd "$workplace" | |
| echo "Workplace:" `pwd` | |
| fi |