File size: 3,023 Bytes
8d82201 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
#!/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 |