Download examples/predict_test.sh from wenkai/FAPM_demo: direct link, hf CLI and curl.
- Browser
- Download file 335 Bytes
-
https://huggingface.co/spaces/wenkai/FAPM_demo/resolve/main/examples/predict_test.sh
- Command line
-
hf download hf://spaces/wenkai/FAPM_demo/examples/predict_test.sh
-
curl -L -o predict_test.sh https://huggingface.co/spaces/wenkai/FAPM_demo/resolve/main/examples/predict_test.sh
335 Bytes
| #SBATCH -J infer_test | |
| #SBATCH -p gpu1 | |
| #SBATCH -N 1 | |
| #SBATCH -w node[84] | |
| #SBATCH --mem 80G | |
| #SBATCH --gres=gpu:1 | |
| #SBATCH --output=log_predict_test.out | |
| #SBATCH --error=log_predict_test.err | |
| #SBATCH --cpus-per-task=8 | |
| module load anaconda3/2021.05 | |
| source activate LAVIS | |
| python blip2_predict_func_concat_pretrain.py | |