-
Notifications
You must be signed in to change notification settings - Fork 8
/
berzelius.sh
executable file
·27 lines (24 loc) · 1.12 KB
/
berzelius.sh
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
#!/bin/bash
#
#SBATCH --nodes 1
#SBATCH --gpus 1
#SBATCH --time 3-00:00:00
#SBATCH --output /proj/nlp4adas/users/%u/logs/%j.out
#SBATCH -A berzelius-2022-117
#
export MASTER_PORT=$RANDOM
singularity exec --nv \
--bind /proj/nlp4adas/users/$USER:/workspace \
--bind /proj/nlp4adas/checkpoints:/checkpoints \
--bind /proj/nlp4adas/features:/features \
--bind /proj/nlp4adas/datasets/once:/my_data \
--bind /proj/nlp4adas/users/$USER/lidar-clippin/SST/mmdet3d/ops/sst/sst_ops.py:/sst/mmdet3d/ops/sst/sst_ops.py \
--bind /proj/nlp4adas/users/$USER/lidar-clippin/SST/mmdet3d/models/backbones/sst_v1.py:/sst/mmdet3d/models/backbones/sst_v1.py \
--bind /proj/nlp4adas/users/$USER/lidar-clippin/SST/mmdet3d/models/backbones/sst_v2.py:/sst/mmdet3d/models/backbones/sst_v2.py \
--bind /proj/nlp4adas/users/$USER/lidar-clippin/SST/mmdet3d/models/voxel_encoders/utils.py:/sst/mmdet3d/models/voxel_encoders/utils.py \
--pwd /workspace/lidar-clippin/ \
--env PYTHONPATH=/workspace/lidar-clippin/ \
/proj/nlp4adas/containers/lidar-clippin.sif \
python3 -u train.py --data-dir=/my_data --checkpoint-save-dir=/checkpoints $@
#
#EOF