VRIS_vip / LAVT-RIS /donghwa /scripts /submit_test_seq_len.sh
dianecy's picture
Upload folder using huggingface_hub
8d82201 verified
raw
history blame
3.02 kB
#!/bin/bash
#SBATCH --job-name=sent_len # Submit a job named "example"
#SBATCH [email protected]
#SBATCH --mail-type=BEGIN,END,FAIL
#SBATCH --partition=a3000 # a6000 or a100
#SBATCH --gres=gpu:1
#SBATCH --time=7-00:00:00 # d-hh:mm:ss, max time limit
#SBATCH --mem=48000 # cpu memory size
#SBATCH --cpus-per-task=4 # cpu num
#SBATCH --output=log_refcocog_umd_repro_sent_len_2.txt # std output filename
ml cuda/11.0 # ํ•„์š”ํ•œ ์ฟ ๋‹ค ๋ฒ„์ „ ๋กœ๋“œ
eval "$(conda shell.bash hook)" # Initialize Conda Environment
conda activate lavt # Activate your conda environment
# repro
# python test_sent_len.py --model lavt_one --swin_type base --dataset refcocog --splitBy umd --split test \
# --resume checkpoints/repro_lavt_one/model_best_gref_umd_lavt_one.pth --workers 4 --ddp_trained_weights --window12 --img_size 480 \
# --config config/sent_len_1_5.yaml
python test_sent_len.py --model lavt_one --swin_type base --dataset refcocog --splitBy umd --split test \
--resume checkpoints/repro_lavt_one/model_best_gref_umd_lavt_one.pth --workers 4 --ddp_trained_weights --window12 --img_size 480 \
--config config/sent_len_6_7.yaml
python test_sent_len.py --model lavt_one --swin_type base --dataset refcocog --splitBy umd --split test \
--resume checkpoints/repro_lavt_one/model_best_gref_umd_lavt_one.pth --workers 4 --ddp_trained_weights --window12 --img_size 480 \
--config config/sent_len_8_10.yaml
python test_sent_len.py --model lavt_one --swin_type base --dataset refcocog --splitBy umd --split test \
--resume checkpoints/repro_lavt_one/model_best_gref_umd_lavt_one.pth --workers 4 --ddp_trained_weights --window12 --img_size 480 \
--config config/sent_len_11_20.yaml
# best_model (Random_550_0up)
# python test_sent_len.py --model lavt_one --swin_type base --dataset refcocog --splitBy umd --split test \
# --resume checkpoints/random_550_lavt_one/model_best_mosaic_gref_umd_lavt_one.pth --workers 4 --ddp_trained_weights --window12 --img_size 480 \
# --config config/sent_len_1_5.yaml
# python test_sent_len.py --model lavt_one --swin_type base --dataset refcocog --splitBy umd --split test \
# --resume checkpoints/random_550_lavt_one/model_best_mosaic_gref_umd_lavt_one.pth --workers 4 --ddp_trained_weights --window12 --img_size 480 \
# --config config/sent_len_6_7.yaml
# python test_sent_len.py --model lavt_one --swin_type base --dataset refcocog --splitBy umd --split test \
# --resume checkpoints/random_550_lavt_one/model_best_mosaic_gref_umd_lavt_one.pth --workers 4 --ddp_trained_weights --window12 --img_size 480 \
# --config config/sent_len_8_10.yaml
# python test_sent_len.py --model lavt_one --swin_type base --dataset refcocog --splitBy umd --split test \
# --resume checkpoints/random_550_lavt_one/model_best_mosaic_gref_umd_lavt_one.pth --workers 4 --ddp_trained_weights --window12 --img_size 480 \
# --config config/sent_len_11_20.yaml