File size: 622 Bytes
8014d08 |
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 |
#!/bin/bash -l
# SLURM SUBMIT SCRIPT
#SBATCH --nodelist=node-gpu01
#SBATCH --gres=gpu:1 # Request N GPUs per machine
. init.sh
lr=1e-4
batch_size=32
accumulate_grad_batches=4 #8
python main.py fit \
--data=TwentyQuestions \
--data.batch_size=$batch_size \
--data.n_traj_eval=64 \
--model=BehaviouralCloning \
--model.lr=$lr \
--trainer.fast_dev_run=False \
--trainer.max_epoch=10 \
--trainer.accumulate_grad_batches=$accumulate_grad_batches \
--trainer.logger=WandbLogger \
--trainer.logger.init_args.project="TwentyQuestions-Official" \
--trainer.logger.init_args.name="BC-lr$lr" \
--trainer.val_check_interval=500 |