-
Notifications
You must be signed in to change notification settings - Fork 5
/
main.sh
36 lines (32 loc) · 1.36 KB
/
main.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
28
29
30
31
32
33
34
35
36
#!/bin/bash
echo "Current path is $PATH"
echo "Running"
nvidia-smi
echo $CUDA_VISIBLE_DEVICES
# # svt_s
python3 -m torch.distributed.launch \
--nproc_per_node=8 \
--nnodes=1 \
--node_rank=0 \
--master_addr="localhost" \
--master_port=12346 \
--use_env main.py --config configs/svt/svt_s.py --data-path ../../../../dataset/Image_net/imagenet --epochs 310 --batch-size 128 \
--token-label --token-label-size 7 --token-label-data ../../../../dataset/Image_net/imagenet_efficientnet_l2_sz475_top5/
# # svt_b
# python3 -m torch.distributed.launch \
# --nproc_per_node=8 \
# --nnodes=1 \
# --node_rank=0 \
# --master_addr="localhost" \
# --master_port=12346 \
# --use_env main.py --config configs/svt/svt_b.py --data-path ../../../../dataset/Image_net/imagenet --epochs 310 --batch-size 128 \
# --token-label --token-label-size 7 --token-label-data ../../../../dataset/Image_net/imagenet_efficientnet_l2_sz475_top5/
# # svt_l
# python3 -m torch.distributed.launch \
# --nproc_per_node=8 \
# --nnodes=1 \
# --node_rank=0 \
# --master_addr="localhost" \
# --master_port=12346 \
# --use_env main.py --config configs/svt/svt_l.py --data-path ../../../../dataset/Image_net/imagenet --epochs 310 --batch-size 128 \
# --token-label --token-label-size 7 --token-label-data ../../../../dataset/Image_net/imagenet_efficientnet_l2_sz475_top5/